summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ghc/rts/ProfHeap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/rts/ProfHeap.c b/ghc/rts/ProfHeap.c
index f30ef5d391..2593d1e2fa 100644
--- a/ghc/rts/ProfHeap.c
+++ b/ghc/rts/ProfHeap.c
@@ -1063,7 +1063,7 @@ heapCensus( void )
// Now traverse the heap in each generation/step.
if (RtsFlags.GcFlags.generations == 1) {
- heapCensusChain( census, g0s0->to_blocks );
+ heapCensusChain( census, g0s0->blocks );
} else {
for (g = 0; g < RtsFlags.GcFlags.generations; g++) {
for (s = 0; s < generations[g].n_steps; s++) {