projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e08791
)
Restore the entry field in StgInfoTable when !defined(TABLES_NEXT_TO_CODE)
author
Simon Marlow
<marlowsd@gmail.com>
Wed, 19 Aug 2009 11:35:50 +0000
(11:35 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Wed, 19 Aug 2009 11:35:50 +0000
(11:35 +0000)
Somehow this got lost, probably in the recent RTS tidy-up.
Fixes segfaults in unregisterised compilation.
includes/rts/storage/InfoTables.h
patch
|
blob
|
history
diff --git
a/includes/rts/storage/InfoTables.h
b/includes/rts/storage/InfoTables.h
index
4596ce2
..
c81e1e2
100644
(file)
--- a/
includes/rts/storage/InfoTables.h
+++ b/
includes/rts/storage/InfoTables.h
@@
-214,6
+214,10
@@
typedef union {
*/
typedef struct StgInfoTable_ {
+#ifndef TABLES_NEXT_TO_CODE
+ StgFunPtr entry; /* pointer to the entry code */
+#endif
+
#ifdef PROFILING
StgProfInfo prof;
#endif