diff options
Diffstat (limited to 'CodeGen/CGStmt.cpp')
-rw-r--r-- | CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CodeGen/CGStmt.cpp b/CodeGen/CGStmt.cpp index 014f0aa85b..32d5f47fec 100644 --- a/CodeGen/CGStmt.cpp +++ b/CodeGen/CGStmt.cpp @@ -290,7 +290,7 @@ void CodeGenFunction::EmitReturnStmt(const ReturnStmt &S) { Builder.CreateRet(EmitScalarExpr(RV)); } else if (RV->getType()->isComplexType()) { llvm::Value *SRetPtr = CurFn->arg_begin(); - EmitComplexExprIntoAddr(RV, SRetPtr); + EmitComplexExprIntoAddr(RV, SRetPtr, false); } else { llvm::Value *SRetPtr = CurFn->arg_begin(); EmitAggExpr(RV, SRetPtr, false); |