summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-06-13 14:45:05 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-06-13 14:45:05 +0000
commitc83f6043834e171a0360bb8f456c5a57f875dc0e (patch)
tree3c58f756ec9b0759c498e31825323ca4e3f11bec
parent72475c8247406b64b8d5d9441c0b37b17d703a54 (diff)
downloadhaskell-c83f6043834e171a0360bb8f456c5a57f875dc0e.tar.gz
I didn't quite fix #1424 completely - hopefully this gets it right
-rw-r--r--compiler/nativeGen/MachCodeGen.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/nativeGen/MachCodeGen.hs b/compiler/nativeGen/MachCodeGen.hs
index d371214cf5..79c8d69678 100644
--- a/compiler/nativeGen/MachCodeGen.hs
+++ b/compiler/nativeGen/MachCodeGen.hs
@@ -3363,8 +3363,8 @@ genCCall target dest_regs args vols = do
setDeltaNat (delta-arg_size)
let code' = code `appOL` arg_code `appOL` toOL [
SUB wordRep (OpImm (ImmInt arg_size)) (OpReg rsp) ,
- MOV arg_rep (OpReg arg_reg) (OpAddr (spRel 0)),
- DELTA (delta-arg_size)]
+ DELTA (delta-arg_size),
+ MOV arg_rep (OpReg arg_reg) (OpAddr (spRel 0))]
push_args rest code'
| otherwise = do