X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FLdvProfile.h;h=27215472d66c7e38989d3533dc2bbd53cc6927e8;hb=3a886477def20cfaaacb87a784917b5c6a3238b0;hp=d85b95cd6ade6dbeefef61a7876855f3683ceace;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/rts/LdvProfile.h b/rts/LdvProfile.h index d85b95c..2721547 100644 --- a/rts/LdvProfile.h +++ b/rts/LdvProfile.h @@ -14,7 +14,6 @@ #include "ProfHeap.h" -extern void LDV_recordDead_FILL_SLOP_DYNAMIC( StgClosure *p ); extern void LdvCensusForDead ( nat ); extern void LdvCensusKillAll ( void ); @@ -24,11 +23,11 @@ extern void LdvCensusKillAll ( void ); // Invoked when: // 1) Hp is incremented and exceeds HpLim (in Updates.hc). // 2) copypart() is called (in GC.c). -#define LDV_FILL_SLOP(from, howManyBackwards) \ +#define LDV_FILL_SLOP(from, howMany) \ if (era > 0) { \ int i; \ - for (i = 0;i < (howManyBackwards); i++) \ - ((StgWord *)(from))[-i] = 0; \ + for (i = 0;i < (howMany); i++) \ + ((StgWord *)(from))[i] = 0; \ } // Informs the LDV profiler that closure c has just been evacuated.