[project @ 2005-09-13 12:08:31 by simonmar]
authorsimonmar <unknown>
Tue, 13 Sep 2005 12:08:31 +0000 (12:08 +0000)
committersimonmar <unknown>
Tue, 13 Sep 2005 12:08:31 +0000 (12:08 +0000)
Remove onMutList() - it needs to be done differently in the HEAD

ghc/rts/Sanity.c

index d6b04a1..ae40bbe 100644 (file)
@@ -937,15 +937,4 @@ checkLAGAtable(rtsBool check_closures)
 }
 #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 */