From: simonmar Date: Wed, 31 Jan 2001 11:03:21 +0000 (+0000) Subject: [project @ 2001-01-31 11:03:21 by simonmar] X-Git-Tag: Approximately_9120_patches~2764 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=c6309937346772588283a89fc3e72cb01e5386e5;p=ghc-hetmet.git [project @ 2001-01-31 11:03:21 by simonmar] disable the gcCAFs debugging routine on GHCi - it conflicts with GHCi's new CAF reversion mechanism. --- diff --git a/ghc/rts/GC.c b/ghc/rts/GC.c index 073dc2c..8790e6e 100644 --- a/ghc/rts/GC.c +++ b/ghc/rts/GC.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: GC.c,v 1.93 2001/01/29 17:23:40 simonmar Exp $ + * $Id: GC.c,v 1.94 2001/01/31 11:03:21 simonmar Exp $ * * (c) The GHC Team 1998-1999 * @@ -743,8 +743,8 @@ void GarbageCollect ( void (*get_roots)(void), rtsBool force_major_gc ) } /* mark the garbage collected CAFs as dead */ -#ifdef DEBUG - if (major_gc) { gcCAFs(); } +#if defined(DEBUG) && !defined(GHCI) + if (major_gc) { gcCAFs(); } /* doesn't work w/ GHCI */ #endif /* zero the scavenged static object list */