[cfe-commits] r72652 - /cfe/trunk/lib/CodeGen/CGExprScalar.cpp
Anders Carlsson
andersca at mac.com
Sat May 30 17:09:15 PDT 2009
Author: andersca
Date: Sat May 30 19:09:15 2009
New Revision: 72652
URL: http://llvm.org/viewvc/llvm-project?rev=72652&view=rev
Log:
Call EmitCXXExprWithTemporaries.
Modified:
cfe/trunk/lib/CodeGen/CGExprScalar.cpp
Modified: cfe/trunk/lib/CodeGen/CGExprScalar.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExprScalar.cpp?rev=72652&r1=72651&r2=72652&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExprScalar.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExprScalar.cpp Sat May 30 19:09:15 2009
@@ -283,8 +283,7 @@
}
Value *VisitCXXExprWithTemporaries(CXXExprWithTemporaries *E) {
- // FIXME: Do something with the temporaries!
- return Visit(E->getSubExpr());
+ return CGF.EmitCXXExprWithTemporaries(E).getScalarVal();
}
// Binary Operators.
More information about the cfe-commits
mailing list