diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2009-12-07 20:18:11 +0000 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2009-12-07 20:18:11 +0000 |
| commit | 5445f6e5b6a6959d1bb8d9a23505c035b7b92a2c (patch) | |
| tree | 1fccc5752c5b63cae0b896ea5858c357917ab22d /clang | |
| parent | 62afe99814bae01036e792e85ca24243818b2ca7 (diff) | |
| download | bcm5719-llvm-5445f6e5b6a6959d1bb8d9a23505c035b7b92a2c.tar.gz bcm5719-llvm-5445f6e5b6a6959d1bb8d9a23505c035b7b92a2c.zip | |
Make the comma operator consistently call EnsureInsertPoint.
llvm-svn: 90799
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/CodeGen/CGExpr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp index 86a3ceb7a8b..8d1d05dc01e 100644 --- a/clang/lib/CodeGen/CGExpr.cpp +++ b/clang/lib/CodeGen/CGExpr.cpp @@ -1427,6 +1427,7 @@ LValue CodeGenFunction::EmitBinaryOperatorLValue(const BinaryOperator *E) { // 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()); } |

