aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-05-23 21:40:07 +0000
committerMike Stump <mrs@apple.com>2009-05-23 21:40:07 +0000
commitf1b97f28a53ee09fa2bc38790d964cda3811bdc6 (patch)
tree0541ebc165adcf8db1e6420cb01c0221faf8813a /lib/CodeGen/CGExpr.cpp
parent4ac20ddc7ab324a59862657f756bdd060076b137 (diff)
More volatile fixes. Can't testcase these yet as ultimately volatile
is still ignored. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r--lib/CodeGen/CGExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp
index 2fe6754293..559bd4c60b 100644
--- a/lib/CodeGen/CGExpr.cpp
+++ b/lib/CodeGen/CGExpr.cpp
@@ -56,7 +56,7 @@ RValue CodeGenFunction::EmitAnyExpr(const Expr *E, llvm::Value *AggLoc,
return RValue::getComplex(EmitComplexExpr(E));
EmitAggExpr(E, AggLoc, isAggLocVolatile);
- return RValue::getAggregate(AggLoc);
+ return RValue::getAggregate(AggLoc, isAggLocVolatile);
}
/// EmitAnyExprToTemp - Similary to EmitAnyExpr(), however, the result