make stg_arg_bitmaps public, and available via the GHCi linker (#3672)
authorSimon Marlow <marlowsd@gmail.com>
Mon, 13 Sep 2010 10:52:35 +0000 (10:52 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 13 Sep 2010 10:52:35 +0000 (10:52 +0000)
includes/rts/storage/InfoTables.h
rts/Apply.h
rts/Linker.c

index 8d51428..cbfb032 100644 (file)
@@ -290,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
    -------------------------------------------------------------------------- */
index 70faed4..1c0b162 100644 (file)
@@ -23,7 +23,4 @@ extern RTS_PRIVATE StgWord stg_stack_save_entries[];
 extern RTS_PRIVATE StgFun *stg_stack_save_entries[];
 #endif
 
-// canned bitmap for each arg type
-extern RTS_PRIVATE StgWord stg_arg_bitmaps[];
-
 #endif /* APPLY_H */
index 63d89e0..de2009f 100644 (file)
@@ -966,6 +966,7 @@ typedef struct _RtsSymbolVal {
       SymI_HasProto(stg_writeTVarzh)                   \
       SymI_HasProto(stg_yieldzh)                        \
       SymI_NeedsProto(stg_interp_constr_entry)          \
+      SymI_HasProto(stg_arg_bitmaps)                    \
       SymI_HasProto(alloc_blocks_lim)                   \
       SymI_HasProto(g0)                                 \
       SymI_HasProto(allocate)                           \