projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
313bf74
)
[project @ 2000-07-13 09:22:26 by sewardj]
author
sewardj
<unknown>
Thu, 13 Jul 2000 09:22:26 +0000
(09:22 +0000)
committer
sewardj
<unknown>
Thu, 13 Jul 2000 09:22:26 +0000
(09:22 +0000)
Zap yet another bogon in x86 floating args to ccalls.
ghc/compiler/nativeGen/MachCode.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/nativeGen/MachCode.lhs
b/ghc/compiler/nativeGen/MachCode.lhs
index
957a0d1
..
f54c759
100644
(file)
--- a/
ghc/compiler/nativeGen/MachCode.lhs
+++ b/
ghc/compiler/nativeGen/MachCode.lhs
@@
-2410,7
+2410,7
@@
genCCall fn cconv kind args
if (case sz of DF -> True; F -> True; _ -> False)
then returnNat (size,
code `appOL`
- toOL [SUB L (OpImm (ImmInt 8)) (OpReg esp),
+ toOL [SUB L (OpImm (ImmInt size)) (OpReg esp),
DELTA (delta-size),
GST sz reg (AddrBaseIndex (Just esp)
Nothing