From c6309937346772588283a89fc3e72cb01e5386e5 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 31 Jan 2001 11:03:21 +0000 Subject: [PATCH] [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. --- ghc/rts/GC.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */ -- 1.7.10.4