summaryrefslogtreecommitdiff
path: root/rts/sm/GC.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/GC.c')
-rw-r--r--rts/sm/GC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index 055a1363ed..0d83f2abae 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -231,7 +231,7 @@ GarbageCollect (rtsBool force_major_gc,
/* Approximate how much we allocated.
* Todo: only when generating stats?
*/
- allocated = calcAllocated(rtsFalse/* don't count the nursery yet */);
+ allocated = countLargeAllocated(); /* don't count the nursery yet */
/* Figure out which generation to collect
*/