projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-11-10 16:14:01 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
FrontPanel.c
diff --git
a/ghc/rts/FrontPanel.c
b/ghc/rts/FrontPanel.c
index
477fce0
..
a09c8cc
100644
(file)
--- a/
ghc/rts/FrontPanel.c
+++ b/
ghc/rts/FrontPanel.c
@@
-1,5
+1,4
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: FrontPanel.c,v 1.8 2003/06/24 08:49:55 stolz Exp $
*
* (c) The GHC Team 2000
*
*
* (c) The GHC Team 2000
*
@@
-17,7
+16,6
@@
#include "MBlock.h"
#include "FrontPanel.h"
#include "Storage.h"
#include "MBlock.h"
#include "FrontPanel.h"
#include "Storage.h"
-#include "StoragePriv.h"
#include "Stats.h"
#include "RtsFlags.h"
#include "Schedule.h"
#include "Stats.h"
#include "RtsFlags.h"
#include "Schedule.h"
@@
-103,7
+101,7
@@
configure_event( GtkWidget *widget, GdkEventConfigure *event STG_UNUSED,
widget->allocation.width,
widget->allocation.height);
widget->allocation.width,
widget->allocation.height);
- fprintf(stderr, "configure!\n");
+ debugBelch("configure!\n");
updateFrontPanel();
return TRUE;
}
updateFrontPanel();
return TRUE;
}
@@
-402,7
+400,7
@@
updateFrontPanel( void )
for (; a <= LAST_BLOCK(m); (char *)a += BLOCK_SIZE) {
bd = Bdescr((P_)a);
ASSERT(bd->start == a);
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 {
colorBlock( a, &free_color,
block_width, block_height, blocks_per_line );
} else {
@@
-702,7
+700,6
@@
residencyCensus( void )
break;
case WEAK:
break;
case WEAK:
- case FOREIGN:
case STABLE_NAME:
case MVAR:
case MUT_VAR:
case STABLE_NAME:
case MVAR:
case MUT_VAR: