Fix bug in scavenge_mutable_list that meant mutable objects sometimes
got dropped from the mutable list.
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: GC.c,v 1.27 1999/02/05 16:02:41 simonm Exp $
+ * $Id: GC.c,v 1.28 1999/02/08 10:41:17 simonm Exp $
*
* (c) The GHC Team 1998-1999
*
*
* (c) The GHC Team 1998-1999
*
StgMutClosure *p, *next, *new_list;
p = gen->saved_mut_list;
StgMutClosure *p, *next, *new_list;
p = gen->saved_mut_list;
- new_list = END_MUT_LIST;
+ new_list = gen->mut_list;
next = p->mut_link;
evac_gen = 0;
next = p->mut_link;
evac_gen = 0;