From 32f4da4f221388d4b429d865ee7916bfb7450de3 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 16 May 2003 14:16:53 +0000 Subject: [PATCH] [project @ 2003-05-16 14:16:53 by simonmar] heapCensus should grok IND_OLDGEN objects, because compacting GC doesn't always eliminate them (perhaps it should). --- ghc/rts/ProfHeap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghc/rts/ProfHeap.c b/ghc/rts/ProfHeap.c index 3752543..e0979a4 100644 --- a/ghc/rts/ProfHeap.c +++ b/ghc/rts/ProfHeap.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: ProfHeap.c,v 1.45 2003/03/24 14:46:55 simonmar Exp $ + * $Id: ProfHeap.c,v 1.46 2003/05/16 14:16:53 simonmar Exp $ * * (c) The GHC Team, 1998-2003 * @@ -836,6 +836,7 @@ heapCensusChain( Census *census, bdescr *bd ) case FUN: case THUNK: case IND_PERM: + case IND_OLDGEN: case IND_OLDGEN_PERM: case CAF_BLACKHOLE: case SE_CAF_BLACKHOLE: -- 1.7.10.4