[project @ 2005-04-20 13:58:00 by simonmar]
authorsimonmar <unknown>
Wed, 20 Apr 2005 13:58:00 +0000 (13:58 +0000)
committersimonmar <unknown>
Wed, 20 Apr 2005 13:58:00 +0000 (13:58 +0000)
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

index f126cfe..9c03c71 100644 (file)
@@ -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);