diff options
author | Eric Christopher <echristo@apple.com> | 2011-09-29 00:00:45 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-09-29 00:00:45 +0000 |
commit | 2f45aaa75513b679446709670999061f8385b8a0 (patch) | |
tree | 4df593c85d0088fa8f1abf09fd640debf45d2f03 /clang/lib/CodeGen/CGStmt.cpp | |
parent | bfa4dc551218f79a6d2584bccf9e188a1567bbe3 (diff) | |
download | bcm5719-llvm-2f45aaa75513b679446709670999061f8385b8a0.tar.gz bcm5719-llvm-2f45aaa75513b679446709670999061f8385b8a0.zip |
Change "Regions" to be "LexicalBlocks" since that's what they
correspond to.
llvm-svn: 140740
Diffstat (limited to 'clang/lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index 1cdb660fa32..ec876a47f30 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/lib/CodeGen/CGStmt.cpp @@ -192,7 +192,7 @@ RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, CGDebugInfo *DI = getDebugInfo(); if (DI) { DI->setLocation(S.getLBracLoc()); - DI->EmitRegionStart(Builder); + DI->EmitLexicalBlockStart(Builder); } // Keep track of the current cleanup stack depth. @@ -204,7 +204,7 @@ RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, if (DI) { DI->setLocation(S.getRBracLoc()); - DI->EmitRegionEnd(Builder); + DI->EmitLexicalBlockEnd(Builder); } RValue RV; @@ -572,7 +572,7 @@ void CodeGenFunction::EmitForStmt(const ForStmt &S) { CGDebugInfo *DI = getDebugInfo(); if (DI) { DI->setLocation(S.getSourceRange().getBegin()); - DI->EmitRegionStart(Builder); + DI->EmitLexicalBlockStart(Builder); } // Evaluate the first part before the loop. @@ -654,7 +654,7 @@ void CodeGenFunction::EmitForStmt(const ForStmt &S) { if (DI) { DI->setLocation(S.getSourceRange().getEnd()); - DI->EmitRegionEnd(Builder); + DI->EmitLexicalBlockEnd(Builder); } // Emit the fall-through block. @@ -669,7 +669,7 @@ void CodeGenFunction::EmitCXXForRangeStmt(const CXXForRangeStmt &S) { CGDebugInfo *DI = getDebugInfo(); if (DI) { DI->setLocation(S.getSourceRange().getBegin()); - DI->EmitRegionStart(Builder); + DI->EmitLexicalBlockStart(Builder); } // Evaluate the first pieces before the loop. @@ -728,7 +728,7 @@ void CodeGenFunction::EmitCXXForRangeStmt(const CXXForRangeStmt &S) { if (DI) { DI->setLocation(S.getSourceRange().getEnd()); - DI->EmitRegionEnd(Builder); + DI->EmitLexicalBlockEnd(Builder); } // Emit the fall-through block. |