diff options
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp index 62d5f9fc48a..037bbb1a2a1 100644 --- a/clang/lib/CodeGen/CGCall.cpp +++ b/clang/lib/CodeGen/CGCall.cpp @@ -754,7 +754,7 @@ void CodeGenFunction::EmitFunctionEpilog(QualType RetTy, if (RetTy->isAnyComplexType()) { // FIXME: Volatile ComplexPairTy RT = LoadComplexFromAddr(ReturnValue, false); - StoreComplexToAddr(RT, ReturnValue, false); + StoreComplexToAddr(RT, CurFn->arg_begin(), false); } else EmitAggregateCopy(CurFn->arg_begin(), ReturnValue, RetTy); break; |