diff options
Diffstat (limited to 'CodeGen/CGExprComplex.cpp')
-rw-r--r-- | CodeGen/CGExprComplex.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CodeGen/CGExprComplex.cpp b/CodeGen/CGExprComplex.cpp index 49b5859f8b..9f1bd2a0ac 100644 --- a/CodeGen/CGExprComplex.cpp +++ b/CodeGen/CGExprComplex.cpp @@ -383,10 +383,11 @@ ComplexPairTy CodeGenFunction::EmitComplexExpr(const Expr *E) { /// EmitComplexExprIntoAddr - Emit the computation of the specified expression /// of complex type, storing into the specified Value*. void CodeGenFunction::EmitComplexExprIntoAddr(const Expr *E, - llvm::Value *DestAddr) { + llvm::Value *DestAddr, + bool DestIsVolatile) { assert(E && E->getType()->isComplexType() && "Invalid complex expression to emit"); ComplexExprEmitter Emitter(*this); ComplexPairTy Val = Emitter.Visit(const_cast<Expr*>(E)); - Emitter.EmitStoreOfComplex(Val, DestAddr, false); + Emitter.EmitStoreOfComplex(Val, DestAddr, DestIsVolatile); } |