aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2014-10-10 04:05:00 +0000
committerNick Lewycky <nicholas@mxc.ca>2014-10-10 04:05:00 +0000
commit5d1159ebe95b0ac0152a5905369a83b2350e9352 (patch)
treee1c0aaef43014894ccb87e08a628b9d3ff006e4e /clang/lib/CodeGen/CodeGenFunction.cpp
parent49dadc0bc3607f97877577e43b25ba17cd70093a (diff)
downloadllvm-5d1159ebe95b0ac0152a5905369a83b2350e9352.zip
llvm-5d1159ebe95b0ac0152a5905369a83b2350e9352.tar.gz
llvm-5d1159ebe95b0ac0152a5905369a83b2350e9352.tar.bz2
Revert r218865 because it introduced PR21236, a crash in codegen emitting the try block.
llvm-svn: 219470
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 9361771..9f35918 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -229,11 +229,6 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
DI->EmitLocation(Builder, EndLoc);
}
- // Some top level lifetime extended variables may still need
- // to have their cleanups called.
- if (!LifetimeExtendedCleanupStack.empty())
- MoveDeferedCleanups(0);
-
// Pop any cleanups that might have been associated with the
// parameters. Do this in whatever block we're currently in; it's
// important to do this before we enter the return block or return