From: Simon Marlow Date: Wed, 19 Aug 2009 11:35:50 +0000 (+0000) Subject: Restore the entry field in StgInfoTable when !defined(TABLES_NEXT_TO_CODE) X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=d53090a3ece2de59d89913186d560be30e2d8094 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. --- diff --git a/includes/rts/storage/InfoTables.h b/includes/rts/storage/InfoTables.h index 4596ce2..c81e1e2 100644 --- 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