X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FGC.c;h=f1278086289563386c1aec29f64109fe59470b8d;hb=69373e1efb0acf58d793c2fd8d3416decbd1a571;hp=cbb939ea6a74ba27ba8fbcc10b63f72d333acbb0;hpb=ed10f2828652819fadfd4783a612c433361169c3;p=ghc-hetmet.git diff --git a/ghc/rts/GC.c b/ghc/rts/GC.c index cbb939e..f127808 100644 --- a/ghc/rts/GC.c +++ b/ghc/rts/GC.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: GC.c,v 1.158 2003/08/14 15:36:13 simonmar Exp $ + * $Id: GC.c,v 1.160 2003/09/23 15:31:02 simonmar Exp $ * * (c) The GHC Team 1998-2003 * @@ -422,7 +422,7 @@ GarbageCollect ( void (*get_roots)(evac_fn), rtsBool force_major_gc ) // mark the large objects as not evacuated yet for (bd = stp->large_objects; bd; bd = bd->link) { - bd->flags = BF_LARGE; + bd->flags &= ~BF_EVACUATED; } // for a compacted step, we need to allocate the bitmap @@ -2131,6 +2131,7 @@ selector_loop: } case AP: + case AP_STACK: case THUNK: case THUNK_1_0: case THUNK_0_1: