X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FCmm.h;h=69b5acc5fca70044d6e09ff03a850d7fdc11e9fb;hb=a0f97ee917fb2fbdb3ebbe8534429aea409d923b;hp=59081e2466f952b838c3224dab6fa9cb61f8a440;hpb=5270423a6afe69f1dc57e5e5a474812182718d40;p=ghc-hetmet.git diff --git a/includes/Cmm.h b/includes/Cmm.h index 59081e2..69b5acc 100644 --- a/includes/Cmm.h +++ b/includes/Cmm.h @@ -385,7 +385,7 @@ // allocate() - this includes many of the primops. #define MAYBE_GC(liveness,reentry) \ if (bdescr_link(CurrentNursery) == NULL || \ - step_n_large_blocks(StgRegTable_rNursery(BaseReg)) >= CInt[alloc_blocks_lim]) { \ + generation_n_new_large_blocks(W_[g0]) >= CInt[alloc_blocks_lim]) { \ R9 = liveness; \ R10 = reentry; \ HpAlloc = 0; \