1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team 1998-2006
5 * Generational garbage collector: evacuation functions
7 * Documentation on the architecture of the Garbage Collector can be
8 * found in the online commentary:
10 * http://hackage.haskell.org/trac/ghc/wiki/Commentary/Rts/Storage/GC
12 * ---------------------------------------------------------------------------*/
14 // Use a register argument for evacuate, if available.
16 #define REGPARM1 __attribute__((regparm(1)))
21 REGPARM1 StgClosure * evacuate (StgClosure *q);
23 extern lnat thunk_selector_depth;