Commit d2e1c2ce authored by Simon Marlow's avatar Simon Marlow

mark recordMutableCap() with [R1] to avoid saving all regs across it

parent 39f96fb8
......@@ -278,7 +278,7 @@ FILL_SLOP(StgClosure *p)
if (bdescr_gen_no(bd) != 0 :: CInt) { \
foreign "C" recordMutableCap(p1 "ptr", \
MyCapability() "ptr", \
bdescr_gen_no(bd)); \
bdescr_gen_no(bd)) [R1]; \
SET_INFO(p1, stg_IND_OLDGEN_info); \
LDV_RECORD_CREATE(p1); \
TICK_UPD_OLD_IND(); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment