[cfe-commits] r145211 - /cfe/trunk/lib/CodeGen/CGCleanup.cpp
Peter Collingbourne
peter at pcc.me.uk
Sun Nov 27 16:41:08 PST 2011
Author: pcc
Date: Sun Nov 27 18:41:08 2011
New Revision: 145211
URL: http://llvm.org/viewvc/llvm-project?rev=145211&view=rev
Log:
Sigh, another workaround for MSVC.
Modified:
cfe/trunk/lib/CodeGen/CGCleanup.cpp
Modified: cfe/trunk/lib/CodeGen/CGCleanup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGCleanup.cpp?rev=145211&r1=145210&r2=145211&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGCleanup.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGCleanup.cpp Sun Nov 27 18:41:08 2011
@@ -1099,6 +1099,6 @@
void CodeGenFunction::EmitCXXTemporary(const CXXTemporary *Temporary,
QualType TempType,
llvm::Value *Ptr) {
- pushDestroy(NormalAndEHCleanup, Ptr, TempType, *destroyCXXObject,
+ pushDestroy(NormalAndEHCleanup, Ptr, TempType, *&destroyCXXObject,
/*useEHCleanup*/ true);
}
More information about the cfe-commits
mailing list