[project @ 2001-07-23 10:47:16 by simonmar]
[ghc-hetmet.git] / ghc / includes / StgStorage.h
index 86dd60b..1b9c61a 100644 (file)
@@ -1,9 +1,9 @@
 /* -----------------------------------------------------------------------------
- * $Id: StgStorage.h,v 1.6 1999/11/09 15:47:09 simonmar Exp $
+ * $Id: StgStorage.h,v 1.8 2001/07/23 10:47:16 simonmar Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
- * STG Storage Manger Interface
+ * STG Storage Manager Interface
  *
  * ---------------------------------------------------------------------------*/
 
@@ -53,6 +53,7 @@ typedef struct _step {
   unsigned int n_blocks;       /* number of blocks */
   struct _step *to;            /* where collected objects from this step go */
   struct _generation *gen;     /* generation this step belongs to */
+  unsigned int gen_no;          /* generation number (cached) */
   bdescr *large_objects;       /* large objects (doubly linked) */
 
   /* temporary use during GC: */
@@ -108,6 +109,7 @@ typedef struct _generation {
    -------------------------------------------------------------------------- */
 
 extern void performGC(void);
+extern void performMajorGC(void);
 extern void performGCWithRoots(void (*get_roots)(void));
 
 #endif /* STGSTORAGE_H */