projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
small rearrangement
[ghc-hetmet.git]
/
rts
/
sm
/
GC.c
diff --git
a/rts/sm/GC.c
b/rts/sm/GC.c
index
6510e77
..
fe26cf9
100644
(file)
--- a/
rts/sm/GC.c
+++ b/
rts/sm/GC.c
@@
-207,12
+207,12
@@
GarbageCollect ( rtsBool force_major_gc )
}
#endif
}
#endif
- // tell the STM to discard any cached closures it's hoping to re-use
- stmPreGCHook();
-
// tell the stats department that we've started a GC
stat_startGC();
// tell the stats department that we've started a GC
stat_startGC();
+ // tell the STM to discard any cached closures it's hoping to re-use
+ stmPreGCHook();
+
#ifdef DEBUG
// check for memory leaks if DEBUG is on
memInventory();
#ifdef DEBUG
// check for memory leaks if DEBUG is on
memInventory();