Mercurial > projects > ldc
changeset 950:f31b29eb6980
Revert return value swapping on x86_64
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Wed, 11 Feb 2009 08:32:33 -0700 |
parents | b2d27ddf8f45 |
children | 29da57670853 |
files | gen/tocall.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/tocall.cpp Tue Feb 10 08:02:25 2009 -0700 +++ b/gen/tocall.cpp Wed Feb 11 08:32:33 2009 -0700 @@ -464,7 +464,7 @@ LLValue* retllval = (retinptr) ? args[0] : call->get(); // swap real/imag parts on a x87 - if ((global.params.cpu == ARCHx86 || global.params.cpu == ARCHx86_64) && tf->nextOf()->toBasetype()->iscomplex()) + if (global.params.cpu == ARCHx86 && tf->nextOf()->toBasetype()->iscomplex()) { retllval = DtoAggrPairSwap(retllval); }