use compiler/coq/Makefile to decide if "git submodule update" is required
[ghc-hetmet.git] / includes / rts / storage / InfoTables.h
index c81e1e2..cbfb032 100644 (file)
@@ -231,7 +231,12 @@ typedef struct StgInfoTable_ {
     StgClosureInfo  layout;    /* closure layout info (one word) */
 
     StgHalfWord     type;      /* closure type */
-    StgHalfWord     srt_bitmap;    /* number of entries in SRT (or constructor tag) */
+    StgHalfWord     srt_bitmap;
+       /* In a CONSTR:
+            - the constructor tag
+          In a FUN/THUNK
+            - a bitmap of SRT entries
+       */
 
 #ifdef TABLES_NEXT_TO_CODE
     StgCode         code[FLEXIBLE_ARRAY];
@@ -285,6 +290,9 @@ typedef struct {
 #endif
 } StgFunInfoTable;
 
+// canned bitmap for each arg type, indexed by constants in FunTypes.h
+extern StgWord stg_arg_bitmaps[];
+
 /* -----------------------------------------------------------------------------
    Return info tables
    -------------------------------------------------------------------------- */