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
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp
index 1cdb660..ec876a4 100644
--- a/lib/CodeGen/CGStmt.cpp
+++ b/lib/CodeGen/CGStmt.cpp
@@ -192,7 +192,7 @@
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 @@
if (DI) {
DI->setLocation(S.getRBracLoc());
- DI->EmitRegionEnd(Builder);
+ DI->EmitLexicalBlockEnd(Builder);
}
RValue RV;
@@ -572,7 +572,7 @@
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 @@
if (DI) {
DI->setLocation(S.getSourceRange().getEnd());
- DI->EmitRegionEnd(Builder);
+ DI->EmitLexicalBlockEnd(Builder);
}
// Emit the fall-through block.
@@ -669,7 +669,7 @@
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 @@
if (DI) {
DI->setLocation(S.getSourceRange().getEnd());
- DI->EmitRegionEnd(Builder);
+ DI->EmitLexicalBlockEnd(Builder);
}
// Emit the fall-through block.