Skip to content
Snippets Groups Projects
Commit f09ea133 authored by Simon Marlow's avatar Simon Marlow
Browse files

[project @ 1999-02-08 10:41:17 by simonm]

Fix bug in scavenge_mutable_list that meant mutable objects sometimes
got dropped from the mutable list.
parent b935bc4b
No related merge requests found
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* $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
* *
...@@ -1935,7 +1935,7 @@ scavenge_mutable_list(generation *gen) ...@@ -1935,7 +1935,7 @@ scavenge_mutable_list(generation *gen)
StgMutClosure *p, *next, *new_list; StgMutClosure *p, *next, *new_list;
p = gen->saved_mut_list; p = gen->saved_mut_list;
new_list = END_MUT_LIST; new_list = gen->mut_list;
next = p->mut_link; next = p->mut_link;
evac_gen = 0; evac_gen = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment