diff options
author | Mike Stump <mrs@apple.com> | 2009-05-26 22:03:21 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-05-26 22:03:21 +0000 |
commit | 49d1cd5a09ed3df353371fd7f206674a85e0fb45 (patch) | |
tree | a076a970c34ce0633615e4ef11df535a1573c6be /lib/CodeGen/CGStmt.cpp | |
parent | 2f1735c643abfc7c18bf7d0ad95b716099d43ccf (diff) |
Fixup codegen for volatile structs in the trivial cases (a a=a and a=a=a).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index da586b1d74..b13b9e529d 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -58,7 +58,7 @@ void CodeGenFunction::EmitStmt(const Stmt *S) { // Must be an expression in a stmt context. Emit the value (to get // side-effects) and ignore the result. if (const Expr *E = dyn_cast<Expr>(S)) { - EmitAnyExpr(E); + EmitAnyExpr(E, 0, false, true); } else { ErrorUnsupported(S, "statement"); } |