diff options
Diffstat (limited to 'CodeGen/CGDecl.cpp')
-rw-r--r-- | CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CodeGen/CGDecl.cpp b/CodeGen/CGDecl.cpp index 9fd0673db1..031216ebeb 100644 --- a/CodeGen/CGDecl.cpp +++ b/CodeGen/CGDecl.cpp @@ -89,7 +89,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const BlockVarDecl &D) { llvm::Value *V = EmitScalarExpr(Init); Builder.CreateStore(V, DeclPtr, D.getType().isVolatileQualified()); } else if (Init->getType()->isComplexType()) { - EmitComplexExprIntoAddr(Init, DeclPtr); + EmitComplexExprIntoAddr(Init, DeclPtr, D.getType().isVolatileQualified()); } else { EmitAggExpr(Init, DeclPtr, D.getType().isVolatileQualified()); } |