[cfe-commits] r59345 - /cfe/trunk/lib/CodeGen/CGCall.cpp
Daniel Dunbar
daniel at zuster.org
Fri Nov 14 17:48:09 PST 2008
Thanks! Something looks off though:
On Fri, Nov 14, 2008 at 5:29 PM, Anders Carlsson <andersca at mac.com> wrote:
> - EmitAggregateCopy(CurFn->arg_begin(), ReturnValue, RetTy);
> + if (RetTy->isAnyComplexType()) {
> + // FIXME: Volatile
> + ComplexPairTy RT = LoadComplexFromAddr(ReturnValue, false);
> + StoreComplexToAddr(RT, ReturnValue, false);
Shouldn't this be storing to CurFn->arg_begin()?
- Daniel
More information about the cfe-commits
mailing list