cache bd->todo_bd->free and the limit in the workspace
[ghc-hetmet.git] / rts / sm / GCUtils.h
index 2b22407..57c3b0c 100644 (file)
@@ -21,7 +21,7 @@ bdescr *allocBlock_sync(void);
 
 void    push_scan_block      (bdescr *bd, step_workspace *ws);
 bdescr *grab_todo_block      (step_workspace *ws);
-bdescr *gc_alloc_todo_block  (step_workspace *ws);
+StgPtr  gc_alloc_todo_block  (step_workspace *ws);
 bdescr *gc_alloc_scavd_block (step_workspace *ws);
 
 // Returns true if a block is 3/4 full.  This predicate is used to try