GC: move static object processinng into thread-local storage
[ghc-hetmet.git] / rts / sm / Compact.c
index b8a40d4..44b5242 100644 (file)
@@ -999,7 +999,7 @@ compact(void)
     }
 
     // the static objects
-    thread_static(scavenged_static_objects);
+    thread_static(gct->scavenged_static_objects /* ToDo: ok? */);
 
     // the stable pointer table
     threadStablePtrTable((evac_fn)thread);