summaryrefslogtreecommitdiff
path: root/rts/sm/GC.c
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-09-12 21:35:04 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-09-12 21:35:04 +0000
commit064562360a310f08592d41e9fceb3404932c4a04 (patch)
tree52fb145e9d42328188fc218c2c1ea95bcfbe7e4e /rts/sm/GC.c
parent53628e913632cac29d54da914040e39add334784 (diff)
downloadhaskell-064562360a310f08592d41e9fceb3404932c4a04.tar.gz
Optimise the code generated at trace points
Diffstat (limited to 'rts/sm/GC.c')
-rw-r--r--rts/sm/GC.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c
index 6f15a47a90..97acc38a0c 100644
--- a/rts/sm/GC.c
+++ b/rts/sm/GC.c
@@ -279,7 +279,7 @@ GarbageCollect (rtsBool force_major_gc,
#ifdef DEBUG
// check for memory leaks if DEBUG is on
- memInventory(traceClass(DEBUG_gc));
+ memInventory(DEBUG_gc);
#endif
// check stack sanity *before* GC
@@ -782,7 +782,7 @@ SET_GCT(gc_threads[0]);
#ifdef DEBUG
// check for memory leaks if DEBUG is on
- memInventory(traceClass(DEBUG_gc));
+ memInventory(DEBUG_gc);
#endif
#ifdef RTS_GTK_FRONTPANEL