{
StgPtr p;
+#if defined(SMP)
+ // heap sanity checking doesn't work with SMP, because we can't
+ // zero the slop (see Updates.h).
+ return;
+#endif
+
for (; bd != NULL; bd = bd->link) {
p = bd->start;
while (p < bd->free) {
}
#endif
-int
-onMutList(StgMutClosure *p, StgMutClosure *mut)
-{
- int i;
- for (i=0; mut != END_MUT_LIST; i++) {
- if (mut == p) return i;
- mut = mut->mut_link;
- }
- return -1;
-}
-
#endif /* DEBUG */