patch applied (ghc): Make LOOKS_LIKE_{INFO,
CLOSURE}_PTR into inline functions, instead of macros
Simon Marlow
simonmarhaskell at gmail.com
Tue Sep 9 03:34:16 EDT 2008
Mon Sep 8 07:43:48 PDT 2008 Simon Marlow <marlowsd at gmail.com>
* Make LOOKS_LIKE_{INFO,CLOSURE}_PTR into inline functions, instead of macros
The macros were duplicating their arguments, which was normally
harmless, but in the parallel GC was actually wrong and caused
spurious assertion failures.
M ./includes/Storage.h -9 +18
M ./rts/Sanity.c -4 +4
M ./rts/sm/Storage.c -1 +1
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20080908144348-12142-afca27f7b3e3e8104c37e26cadb8c1069e1c2946.gz
More information about the Cvs-ghc
mailing list