X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FFrontPanel.c;h=579b75bab3c261b0b885ad7209377a96136a5895;hb=0dbbf1932d550293986af6244202cb735b2cd966;hp=92ed071465eeda67c4592794d658833092015743;hpb=95ca6bff6fc9918203173b442192d9298ef9757a;p=ghc-hetmet.git diff --git a/ghc/rts/FrontPanel.c b/ghc/rts/FrontPanel.c index 92ed071..579b75b 100644 --- a/ghc/rts/FrontPanel.c +++ b/ghc/rts/FrontPanel.c @@ -1,5 +1,4 @@ /* ----------------------------------------------------------------------------- - * $Id: FrontPanel.c,v 1.10 2004/09/03 15:28:20 simonmar Exp $ * * (c) The GHC Team 2000 * @@ -21,9 +20,9 @@ #include "RtsFlags.h" #include "Schedule.h" -#include -#include #include +#include +#include #include "VisSupport.h" #include "VisWindow.h" @@ -401,7 +400,7 @@ updateFrontPanel( void ) for (; a <= LAST_BLOCK(m); (char *)a += BLOCK_SIZE) { bd = Bdescr((P_)a); ASSERT(bd->start == a); - if (bd->free == (void *)-1) { + if (bd->flags & BF_FREE) { colorBlock( a, &free_color, block_width, block_height, blocks_per_line ); } else { @@ -606,7 +605,7 @@ residencyCensus( void ) g == 0 && s == 0) continue; if (RtsFlags.GcFlags.generations == 1) { - bd = generations[g].steps[s].to_blocks; +/* bd = generations[g].steps[s].to_blocks; FIXME to_blocks does not exist */ } else { bd = generations[g].steps[s].blocks; } @@ -669,7 +668,7 @@ residencyCensus( void ) case SE_CAF_BLACKHOLE: case SE_BLACKHOLE: case BLACKHOLE: - case BLACKHOLE_BQ: +/* case BLACKHOLE_BQ: FIXME: case does not exist */ size = sizeW_fromITBL(info); type = BlackHole; break; @@ -701,11 +700,10 @@ residencyCensus( void ) break; case WEAK: - case FOREIGN: case STABLE_NAME: case MVAR: case MUT_VAR: - case MUT_CONS: +/* case MUT_CONS: FIXME: case does not exist */ case IND_PERM: case IND_OLDGEN_PERM: size = sizeW_fromITBL(info);