X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FPrimOps.cmm;h=785a462bf38252a8ad1abe4793b9ae7730956bbd;hb=666d13694a9aca0a2dad5ae3f26f02ae3f0161e0;hp=25f8245a98d3b33f6267b29acb32715aae2619f9;hpb=7bffe7e8997b3bb704e4b6337e8c3e4341223f2b;p=ghc-hetmet.git diff --git a/ghc/rts/PrimOps.cmm b/ghc/rts/PrimOps.cmm index 25f8245..785a462 100644 --- a/ghc/rts/PrimOps.cmm +++ b/ghc/rts/PrimOps.cmm @@ -131,8 +131,8 @@ unsafeThawArrayzh_fast // So, when we thaw a MUT_ARR_PTRS_FROZEN, we must cope with two cases: // either it is on a mut_list, or it isn't. We adopt the convention that - // the mut_link field is NULL if it isn't on a mut_list, and the GC - // maintains this invariant. + // the closure type is MUT_ARR_PTRS_FROZEN0 if it is on the mutable list, + // and MUT_ARR_PTRS_FROZEN otherwise. // if (%INFO_TYPE(%GET_STD_INFO(R1)) != HALF_W_(MUT_ARR_PTRS_FROZEN0)) { foreign "C" recordMutableLock(R1 "ptr") [R1];