Commit e989066d authored by simonmar's avatar simonmar
Browse files

[project @ 2003-01-23 16:39:30 by simonmar]

Fix compilation with DEBUG
parent c3c29616
/* -----------------------------------------------------------------------------
* $Id: ProfHeap.c,v 1.41 2003/01/23 12:13:12 simonmar Exp $
* $Id: ProfHeap.c,v 1.42 2003/01/23 16:39:30 simonmar Exp $
*
* (c) The GHC Team, 1998-2000
*
......@@ -894,6 +894,10 @@ heapCensusChain( Census *census, bdescr *bd )
case TSO:
prim = rtsTrue;
#ifdef DEBUG_HEAP_PROF
size = tso_sizeW((StgTSO *)p);
break;
#else
if (RtsFlags.ProfFlags.includeTSOs) {
size = tso_sizeW((StgTSO *)p);
break;
......@@ -902,7 +906,8 @@ heapCensusChain( Census *census, bdescr *bd )
p += tso_sizeW((StgTSO *)p);
continue;
}
#endif
default:
barf("heapCensus");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment