From 7619203a4895c1f6a4b980088183686c61c7899d Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 20 Apr 2005 13:58:00 +0000 Subject: [PATCH] [project @ 2005-04-20 13:58:00 by simonmar] Remove bogus code: the mutable list does not need to be rebuilt during compaction. It just needs to be updated, which is already happening. (fixes crashes in compacting collection; I think a different fix is required for STABLE, though) --- ghc/rts/GCCompact.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ghc/rts/GCCompact.c b/ghc/rts/GCCompact.c index f126cfe..9c03c71 100644 --- a/ghc/rts/GCCompact.c +++ b/ghc/rts/GCCompact.c @@ -841,11 +841,6 @@ update_bkwd_compact( step *stp ) move(free,p,size); } - // Rebuild the mutable list for the old generation. - if (ip_MUTABLE(info)) { - recordMutable((StgClosure *)free); - } - // relocate TSOs if (info->type == TSO) { move_TSO((StgTSO *)p, (StgTSO *)free); -- 1.7.10.4