Make sure to push a cleanup block.

llvm-svn: 72831
This commit is contained in:
Anders Carlsson 2009-06-04 02:08:08 +00:00
parent 0cb0c78a26
commit ea89e2b813
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ void CodeGenFunction::PushCXXTemporary(const CXXTemporary *Temporary,
llvm::BasicBlock *DtorBlock = createBasicBlock("temp.dtor");
LiveTemporaries.push_back(CXXLiveTemporaryInfo(Temporary, Ptr, DtorBlock, 0));
PushCleanupBlock(DtorBlock);
}
void CodeGenFunction::PopCXXTemporary() {