projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't enable the monomorphism warning by default
[ghc-hetmet.git]
/
includes
/
InfoTables.h
diff --git
a/includes/InfoTables.h
b/includes/InfoTables.h
index
77171f1
..
67bd97b
100644
(file)
--- a/
includes/InfoTables.h
+++ b/
includes/InfoTables.h
@@
-412,6
+412,16
@@
typedef struct _StgConInfoTable {
#endif
/*
#endif
/*
+ * GET_CON_DESC(info)
+ * info must be a StgConInfoTable*.
+ */
+#ifdef TABLES_NEXT_TO_CODE
+#define GET_CON_DESC(info) ((char *)((StgWord)((info)+1) + (info->con_desc)))
+#else
+#define GET_CON_DESC(info) ((info)->con_desc)
+#endif
+
+/*
* GET_FUN_SRT(info)
* info must be a StgFunInfoTable*
*/
* GET_FUN_SRT(info)
* info must be a StgFunInfoTable*
*/