summaryrefslogtreecommitdiff
path: root/rts/sm/GC.h
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-31 14:42:30 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-31 14:42:30 +0000
commitc357244371ca5eeaa0d56a6bd349e26a3b16b7dc (patch)
tree1e0938c8335f45b86d6d8e41cf029848bcd6c489 /rts/sm/GC.h
parentbf1197b67163d9f5b6509cf836e07ff83cc0a063 (diff)
downloadhaskell-c357244371ca5eeaa0d56a6bd349e26a3b16b7dc.tar.gz
GC refactoring: change evac_gen to evac_step
By establishing an ordering on step pointers, we can simplify the test (stp->gen_no < evac_gen) to (stp < evac_step) which is common in evacuate().
Diffstat (limited to 'rts/sm/GC.h')
-rw-r--r--rts/sm/GC.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/sm/GC.h b/rts/sm/GC.h
index 013a901329..d45efb96e4 100644
--- a/rts/sm/GC.h
+++ b/rts/sm/GC.h
@@ -128,7 +128,7 @@ typedef struct gc_thread_ {
// --------------------
// evacuate flags
- nat evac_gen; // Youngest generation that objects
+ step *evac_step; // Youngest generation that objects
// should be evacuated to in
// evacuate(). (Logically an
// argument to evacuate, but it's