[project @ 2000-12-31 16:58:05 by panne]
[ghc-hetmet.git] / ghc / rts / ProfHeap.c
index 6792a11..acd7778 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: ProfHeap.c,v 1.18 2000/11/13 14:40:37 simonmar Exp $
+ * $Id: ProfHeap.c,v 1.20 2000/12/11 12:36:59 simonmar Exp $
  *
  * (c) The GHC Team, 1998-2000
  *
@@ -491,9 +491,6 @@ heapCensus(void)
       info = get_itbl((StgClosure *)p);
 
       switch (info->type) {
-      case BCO:
-       size = bco_sizeW((StgBCO *)p);
-       break;
        
       case CONSTR:
        if (((StgClosure *)p)->header.info == &stg_DEAD_WEAK_info
@@ -503,6 +500,7 @@ heapCensus(void)
        }
        /* else, fall through... */
 
+      case BCO:
       case FUN:
       case THUNK:
       case IND_PERM: