From: simonmar@microsoft.com Date: Thu, 29 Nov 2007 12:00:21 +0000 (+0000) Subject: EVACUATED: target is definitely HEAP_ALLOCED(), no need to check X-Git-Tag: Before_cabalised-GHC~277 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=9b06d03f0dda22ee7f4c0a3a99844ed0ad81e213 EVACUATED: target is definitely HEAP_ALLOCED(), no need to check --- diff --git a/rts/sm/Evac.c-inc b/rts/sm/Evac.c-inc index 477c061..7e10452 100644 --- a/rts/sm/Evac.c-inc +++ b/rts/sm/Evac.c-inc @@ -482,7 +482,7 @@ loop: StgClosure *e = ((StgEvacuated*)q)->evacuee; *p = e; if (stp < gct->evac_step) { // optimisation - if (HEAP_ALLOCED(e) && Bdescr((P_)e)->step < gct->evac_step) { + if (Bdescr((P_)e)->step < gct->evac_step) { gct->failed_to_evac = rtsTrue; TICK_GC_FAILED_PROMOTION(); }