Work around a gcc4.2 bug.

llvm-svn: 145209
This commit is contained in:
Peter Collingbourne 2011-11-28 00:18:21 +00:00
parent 6404d97a99
commit 1424b308c3
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,
QualType TempType,
llvm::Value *Ptr) {
pushDestroy(NormalAndEHCleanup, Ptr, TempType, destroyCXXObject,
pushDestroy(NormalAndEHCleanup, Ptr, TempType, *destroyCXXObject,
/*useEHCleanup*/ true);
}