diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-28 00:18:21 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-11-28 00:18:21 +0000 |
commit | 3fb91f6abd15b117dbd2c930f626fa87fe7a3b10 (patch) | |
tree | 5582cd8d3a4a998e32faaf89d9d0587e7ffc73b6 /lib/CodeGen/CGCleanup.cpp | |
parent | bceb75528a4a9757f85df002ab45c6002dc10f94 (diff) |
Work around a gcc4.2 bug.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145209 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCleanup.cpp')
-rw-r--r-- | lib/CodeGen/CGCleanup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCleanup.cpp b/lib/CodeGen/CGCleanup.cpp index 40c316f436..f09ba72bbc 100644 --- a/lib/CodeGen/CGCleanup.cpp +++ b/lib/CodeGen/CGCleanup.cpp @@ -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); } |