Mon Jul 28 08:56:21 PDT 2008 Simon Marlow <[EMAIL PROTECTED]>
* Change the calling conventions for unboxed tuples slightly
When returning an unboxed tuple with a single non-void component, we
now use the same calling convention as for returning a value of the
same type as that component. This means that the return convention
for IO now doesn't vary depending on the platform, which make some
parts of the RTS simpler, and fixes a problem I was having with making
the FFI work in unregisterised GHCi (the byte-code compiler makes
some assumptions about calling conventions to keep things simple).
M ./compiler/codeGen/CgCallConv.hs -1 +14
M ./rts/Exception.cmm -48
M ./rts/PrimOps.cmm -30
M ./rts/RaiseAsync.c -10
M ./rts/Schedule.c -2
M ./rts/StgStartup.cmm -16
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080728155621-12142-bcb960d149a8791343589d45935b7c864524bebb.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc