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 | aa2164cc2aecafb9efbddd72e6f25cea4995b330 (patch) | |
tree | fcfdffb9f44c8cfff99eb43ae3c9df4c456be5b2 /lib/CodeGen/CGObjC.cpp | |
parent | 5321bc492b2f29deecb6cb0bc68b7887164ee8a6 (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/CGObjC.cpp')
-rw-r--r-- | lib/CodeGen/CGObjC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index daca6971f5..d406e3a064 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -1210,7 +1210,7 @@ void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S){ CGDebugInfo *DI = getDebugInfo(); if (DI) { DI->setLocation(S.getSourceRange().getBegin()); - DI->EmitRegionStart(Builder); + DI->EmitLexicalBlockStart(Builder); } // The local variable comes into scope immediately. @@ -1467,7 +1467,7 @@ void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S){ if (DI) { DI->setLocation(S.getSourceRange().getEnd()); - DI->EmitRegionEnd(Builder); + DI->EmitLexicalBlockEnd(Builder); } // Leave the cleanup we entered in ARC. @@ -2442,7 +2442,7 @@ void CodeGenFunction::EmitObjCAutoreleasePoolStmt( CGDebugInfo *DI = getDebugInfo(); if (DI) { DI->setLocation(S.getLBracLoc()); - DI->EmitRegionStart(Builder); + DI->EmitLexicalBlockStart(Builder); } // Keep track of the current cleanup stack depth. @@ -2461,7 +2461,7 @@ void CodeGenFunction::EmitObjCAutoreleasePoolStmt( if (DI) { DI->setLocation(S.getRBracLoc()); - DI->EmitRegionEnd(Builder); + DI->EmitLexicalBlockEnd(Builder); } } |