Make LOOKS_LIKE_{INFO,CLOSURE}_PTR into inline functions, instead of macros
authorSimon Marlow <marlowsd@gmail.com>
Mon, 8 Sep 2008 14:43:48 +0000 (14:43 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 8 Sep 2008 14:43:48 +0000 (14:43 +0000)
commitfef454a0f84acdf9e4efbce6425a04fbbb577dbe
tree65771d4fe86d7532e41b9e25c4d51d0db2e7854e
parent9c325bab1e7ed7d305a79ef9e366b6ac87b8b1b6
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.
includes/Storage.h
rts/Sanity.c
rts/sm/Storage.c