Sigh, another workaround for MSVC.

llvm-svn: 145211
This commit is contained in:
Peter Collingbourne 2011-11-28 00:41:08 +00:00
parent 3fc3dcd80f
commit fc38dfe499
1 changed files with 1 additions and 1 deletions

View File

@ -1099,6 +1099,6 @@ llvm::Value *CodeGenFunction::getNormalCleanupDestSlot() {
void CodeGenFunction::EmitCXXTemporary(const CXXTemporary *Temporary, void CodeGenFunction::EmitCXXTemporary(const CXXTemporary *Temporary,
QualType TempType, QualType TempType,
llvm::Value *Ptr) { llvm::Value *Ptr) {
pushDestroy(NormalAndEHCleanup, Ptr, TempType, *destroyCXXObject, pushDestroy(NormalAndEHCleanup, Ptr, TempType, *&destroyCXXObject,
/*useEHCleanup*/ true); /*useEHCleanup*/ true);
} }