move the scan block pointer into the gct structure
[ghc-hetmet.git] / rts / sm / GC.h
index 0e0d90a..62a4872 100644 (file)
@@ -76,9 +76,6 @@ typedef struct step_workspace_ {
     step * step;               // the step for this workspace 
     struct gc_thread_ * gct;    // the gc_thread that contains this workspace
 
-    // block that is currently being scanned
-    bdescr *     scan_bd;
-
     // where objects to be scavenged go
     bdescr *     todo_bd;
     StgPtr       todo_free;            // free ptr for todo_bd
@@ -128,6 +125,9 @@ typedef struct gc_thread_ {
 
     lnat gc_count;                 // number of GCs this thread has done
 
+    // block that is currently being scanned
+    bdescr *     scan_bd;
+
     // --------------------
     // evacuate flags