[cfe-commits] r90799 - /cfe/trunk/lib/CodeGen/CGExpr.cpp

Eli Friedman eli.friedman at gmail.com
Mon Dec 7 12:18:11 PST 2009


Author: efriedma
Date: Mon Dec  7 14:18:11 2009
New Revision: 90799

URL: http://llvm.org/viewvc/llvm-project?rev=90799&view=rev
Log:
Make the comma operator consistently call EnsureInsertPoint.


Modified:
    cfe/trunk/lib/CodeGen/CGExpr.cpp

Modified: cfe/trunk/lib/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExpr.cpp?rev=90799&r1=90798&r2=90799&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExpr.cpp Mon Dec  7 14:18:11 2009
@@ -1427,6 +1427,7 @@
   // Comma expressions just emit their LHS then their RHS as an l-value.
   if (E->getOpcode() == BinaryOperator::Comma) {
     EmitAnyExpr(E->getLHS());
+    EnsureInsertPoint();
     return EmitLValue(E->getRHS());
   }
 





More information about the cfe-commits mailing list