X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FUpdates.hc;h=45e00debe90ecd9c17c274c000a963626be95c3e;hb=97906cfcc30dd591e840921d336fdabeb1b8a315;hp=81f49de86f28971f5e0b0a8a23ada3aec47a97d3;hpb=db61851c5472bf565cd1da900b33d6e033fd743d;p=ghc-hetmet.git diff --git a/ghc/rts/Updates.hc b/ghc/rts/Updates.hc index 81f49de..45e00de 100644 --- a/ghc/rts/Updates.hc +++ b/ghc/rts/Updates.hc @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Updates.hc,v 1.36 2001/11/22 14:25:12 simonmar Exp $ + * $Id: Updates.hc,v 1.37 2001/11/28 14:29:33 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -287,23 +287,14 @@ EXTFUN(__stg_update_PAP) * such as removing the update frame. */ if ((Hp += PapSize) > HpLim) { -#ifdef PROFILING - // @LDV profiling - // Not filling the slop for the object (because there is none), but - // filling in the trailing words in the current block. - // This is unnecessary because we fills the entire nursery with - // zeroes after each garbage collection. - // FILL_SLOP(HpLim, PapSize - (Hp - HpLim)); -#endif + HpAlloc = PapSize; Sp -= 1; Sp[0] = (W_)Fun; JMP_(stg_gc_entertop); } TICK_ALLOC_UPD_PAP(1/*fun*/ + Words, 0); -#ifdef PROFILING CCS_ALLOC(CCS_pap, PapSize); -#endif PapClosure = (StgPAP *)(Hp + 1 - PapSize); /* The new PapClosure */