/* -----------------------------------------------------------------------------
- * $Id: FrontPanel.c,v 1.6 2001/08/16 05:30:27 chak Exp $
*
* (c) The GHC Team 2000
*
#include "MBlock.h"
#include "FrontPanel.h"
#include "Storage.h"
-#include "StoragePriv.h"
#include "Stats.h"
#include "RtsFlags.h"
#include "Schedule.h"
widget->allocation.width,
widget->allocation.height);
- fprintf(stderr, "configure!\n");
+ debugBelch("configure!\n");
updateFrontPanel();
return TRUE;
}
block_width, block_height, blocks_per_line );
}
+#if 0 /* Segfaults because bd appears to be bogus but != NULL. stolz, 2003-06-24 */
/* color each block */
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 {
block_width, block_height, blocks_per_line );
}
}
+#endif
}
type = BlackHole;
break;
- case AP_UPD:
+ case AP:
size = pap_sizeW((StgPAP *)p);
type = Thunk;
break;
break;
case WEAK:
- case FOREIGN:
case STABLE_NAME:
case MVAR:
case MUT_VAR:
+ case MUT_CONS:
case IND_PERM:
case IND_OLDGEN_PERM:
size = sizeW_fromITBL(info);