Commit f59e2cec authored by simonmar's avatar simonmar
Browse files

[project @ 2003-10-24 09:00:59 by simonmar]

Set the mut_link of a MUT_ARR_PTRS_FROZEN to NULL.  This might be the
cause of the stage2 crash; I'll check as soon as the build completes.
parent 025fbc40
/* -----------------------------------------------------------------------------
* $Id: Weak.c,v 1.30 2003/09/21 22:20:56 wolfgang Exp $
* $Id: Weak.c,v 1.31 2003/10/24 09:00:59 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -106,6 +106,7 @@ scheduleFinalizers(StgWeak *list)
arr = (StgMutArrPtrs *)allocate(sizeofW(StgMutArrPtrs) + n);
TICK_ALLOC_PRIM(sizeofW(StgMutArrPtrs), n, 0);
SET_HDR(arr, &stg_MUT_ARR_PTRS_FROZEN_info, CCS_SYSTEM);
arr->mut_link = NULL;
arr->ptrs = n;
n = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment