Revert r218865 because it introduced PR21236, a crash in codegen emitting the try block.

llvm-svn: 219470
This commit is contained in:
Nick Lewycky
2014-10-10 04:05:00 +00:00
parent 49dadc0bc3
commit 5d1159ebe9
6 changed files with 32 additions and 414 deletions

View File

@@ -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