From edd7db7a4d04d8fd8964fe354d8d8e569c225c03 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 6 Apr 2010 13:58:32 +0000 Subject: [PATCH] putMVar#: fix reg liveness in the heap check --- rts/PrimOps.cmm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/PrimOps.cmm b/rts/PrimOps.cmm index 03eb490..ada23fd 100644 --- a/rts/PrimOps.cmm +++ b/rts/PrimOps.cmm @@ -1326,7 +1326,7 @@ stg_putMVarzh if (StgMVar_value(mvar) != stg_END_TSO_QUEUE_closure) { // see Note [mvar-heap-check] above - HP_CHK_GEN_TICKY(SIZEOF_StgMVarTSOQueue, R1_PTR, stg_putMVarzh); + HP_CHK_GEN_TICKY(SIZEOF_StgMVarTSOQueue, R1_PTR|R2_PTR, stg_putMVarzh); q = Hp - SIZEOF_StgMVarTSOQueue + WDS(1); -- 1.7.10.4