Commit d53090a3 authored by Simon Marlow's avatar Simon Marlow
Browse files

Restore the entry field in StgInfoTable when !defined(TABLES_NEXT_TO_CODE)

Somehow this got lost, probably in the recent RTS tidy-up.  
Fixes segfaults in unregisterised compilation.
parent 3e087914
...@@ -214,6 +214,10 @@ typedef union { ...@@ -214,6 +214,10 @@ typedef union {
*/ */
typedef struct StgInfoTable_ { typedef struct StgInfoTable_ {
#ifndef TABLES_NEXT_TO_CODE
StgFunPtr entry; /* pointer to the entry code */
#endif
#ifdef PROFILING #ifdef PROFILING
StgProfInfo prof; StgProfInfo prof;
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment