forked from OSchip/llvm-project
parent
3fc3dcd80f
commit
fc38dfe499
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue