aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGStmt.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2011-09-29 00:00:45 +0000
committerEric Christopher <echristo@apple.com>2011-09-29 00:00:45 +0000
commitaa2164cc2aecafb9efbddd72e6f25cea4995b330 (patch)
treefcfdffb9f44c8cfff99eb43ae3c9df4c456be5b2 /lib/CodeGen/CGStmt.cpp
parent5321bc492b2f29deecb6cb0bc68b7887164ee8a6 (diff)
Change "Regions" to be "LexicalBlocks" since that's what they
correspond to. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r--lib/CodeGen/CGStmt.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp
index 1cdb660fa3..ec876a47f3 100644
--- a/lib/CodeGen/CGStmt.cpp
+++ b/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.