diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-05-31 00:09:15 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-05-31 00:09:15 +0000 |
| commit | 2262b307aadc3536b906ea018e5f9b18b0326878 (patch) | |
| tree | 2915f95c84b1c99778e782cf0e0890e3129e101e /clang/lib/CodeGen/CGExprScalar.cpp | |
| parent | 89391a92727079c7aeab85561f42bfdf7b5c50e4 (diff) | |
| download | bcm5719-llvm-2262b307aadc3536b906ea018e5f9b18b0326878.tar.gz bcm5719-llvm-2262b307aadc3536b906ea018e5f9b18b0326878.zip | |
Call EmitCXXExprWithTemporaries.
llvm-svn: 72652
Diffstat (limited to 'clang/lib/CodeGen/CGExprScalar.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGExprScalar.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGExprScalar.cpp b/clang/lib/CodeGen/CGExprScalar.cpp index 958aa9361cc..e4d3ff5a2e3 100644 --- a/clang/lib/CodeGen/CGExprScalar.cpp +++ b/clang/lib/CodeGen/CGExprScalar.cpp @@ -283,8 +283,7 @@ public: } Value *VisitCXXExprWithTemporaries(CXXExprWithTemporaries *E) { - // FIXME: Do something with the temporaries! - return Visit(E->getSubExpr()); + return CGF.EmitCXXExprWithTemporaries(E).getScalarVal(); } // Binary Operators. |

