From: simonmar Date: Fri, 10 Aug 2001 09:41:17 +0000 (+0000) Subject: [project @ 2001-08-10 09:41:17 by simonmar] X-Git-Tag: Approximately_9120_patches~1289 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=fb43144127d1498582844f09eefbd227247ab3b4;p=ghc-hetmet.git [project @ 2001-08-10 09:41:17 by simonmar] Claim that MUT_CONS closures have 1 pointer and 1 non-pointer field, so that the default threading code in GCCompact works for them (it doesn't thread the mut_link field). This also matches MUT_VARs, so it's more consistent. --- diff --git a/ghc/rts/StgMiscClosures.hc b/ghc/rts/StgMiscClosures.hc index b0433a3..06286a0 100644 --- a/ghc/rts/StgMiscClosures.hc +++ b/ghc/rts/StgMiscClosures.hc @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: StgMiscClosures.hc,v 1.67 2001/07/23 17:23:20 simonmar Exp $ + * $Id: StgMiscClosures.hc,v 1.68 2001/08/10 09:41:17 simonmar Exp $ * * (c) The GHC Team, 1998-2000 * @@ -730,7 +730,7 @@ NON_ENTERABLE_ENTRY_CODE(END_MUT_LIST); SET_STATIC_HDR(stg_END_MUT_LIST_closure,stg_END_MUT_LIST_info,0/*CC*/,,EI_) , /*payload*/{} }; -INFO_TABLE(stg_MUT_CONS_info, stg_MUT_CONS_entry, 2, 0, MUT_CONS, , EF_, 0, 0); +INFO_TABLE(stg_MUT_CONS_info, stg_MUT_CONS_entry, 1, 1, MUT_CONS, , EF_, 0, 0); NON_ENTERABLE_ENTRY_CODE(MUT_CONS); /* -----------------------------------------------------------------------------