Fixed calling convention for unboxed tuples
authordias@cs.tufts.edu <unknown>
Fri, 18 Sep 2009 18:34:15 +0000 (18:34 +0000)
committerdias@cs.tufts.edu <unknown>
Fri, 18 Sep 2009 18:34:15 +0000 (18:34 +0000)
commite4caa74b6c809cd17c5d1f7d472b9a47b2ea6f1c
tree8917db21c74605655582adeaa1404e9bc81344f4
parente4622dac19c0ea5ba60078667c57e03801cdc943
Fixed calling convention for unboxed tuples
Apparently, the arguments should be sorted by pointerhood.
While we're at it, I rewrote the code that assigns registers
and stack space to function call and return parameters.
compiler/cmm/CmmCallConv.hs
compiler/codeGen/StgCmm.hs
compiler/codeGen/StgCmmLayout.hs
compiler/codeGen/StgCmmUtils.hs