diff options
author | Eric Christopher <echristo@apple.com> | 2012-07-11 15:32:13 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-07-11 15:32:13 +0000 |
commit | c852e9ff06f7089405265c53af33cf06fdc36e52 (patch) | |
tree | d3b2613baf95eeef96b77e6ba4ffe4a7cdbb37a3 /lib/CodeGen/CodeGenFunction.h | |
parent | d217a66ef5091e7f42ac6c39507bd8e99125aa9b (diff) |
Temporarily revert this to see if it brings the gdb bot back.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160049 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h index 8740fd06df..b737a9ed7a 100644 --- a/lib/CodeGen/CodeGenFunction.h +++ b/lib/CodeGen/CodeGenFunction.h @@ -854,11 +854,8 @@ public: /// cleanups. ~LexicalScope() { if (PopDebugStack) { - if (CGDebugInfo *DI = CGF.getDebugInfo()) { - if (RunCleanupsScope::requiresCleanups()) - DI->EmitLocation(CGF.Builder, Range.getEnd()); - DI->EmitLexicalBlockEnd(CGF.Builder, Range.getEnd()); - } + CGDebugInfo *DI = CGF.getDebugInfo(); + if (DI) DI->EmitLexicalBlockEnd(CGF.Builder, Range.getEnd()); } } @@ -867,8 +864,6 @@ public: void ForceCleanup() { RunCleanupsScope::ForceCleanup(); if (CGDebugInfo *DI = CGF.getDebugInfo()) { - if (RunCleanupsScope::requiresCleanups()) - DI->EmitLocation(CGF.Builder, Range.getEnd()); DI->EmitLexicalBlockEnd(CGF.Builder, Range.getEnd()); PopDebugStack = false; } |