MAYBE_GC: initialise HpAlloc
[ghc-hetmet.git] / includes / Cmm.h
index e494b60..3d3283e 100644 (file)
   if (bdescr_link(CurrentNursery) == NULL || CInt[alloc_blocks] >= CInt[alloc_blocks_lim]) {           \
        R9  = liveness;                                 \
         R10 = reentry;                                 \
+        HpAlloc = 0;                                   \
         jump stg_gc_gen_hp;                            \
    }