From: simonmar Date: Mon, 24 Oct 2005 09:33:37 +0000 (+0000) Subject: [project @ 2005-10-24 09:33:37 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~145 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=135776b8b82d008bb7c66e009119a1bf94d41e7b;p=ghc-hetmet.git [project @ 2005-10-24 09:33:37 by simonmar] Fix a warning --- diff --git a/ghc/rts/StgCRun.c b/ghc/rts/StgCRun.c index c24620a..89fde5c 100644 --- a/ghc/rts/StgCRun.c +++ b/ghc/rts/StgCRun.c @@ -85,11 +85,11 @@ register double fake_f9 __asm__("$f9"); StgThreadReturnCode StgRun(StgFunPtr f, StgRegTable *basereg STG_UNUSED) { while (f) { - if (RtsFlags[0].DebugFlags.interpreter) { + IF_DEBUG(interpreter, debugBelch("Jumping to "); printPtr((P_)f); fflush(stdout); debugBelch("\n"); - } + ); f = (StgFunPtr) (f)(); } return (StgThreadReturnCode)R1.i;