X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2FInfoTables.h;h=9b73aa593c814554fce23eea6da349cbde587d27;hb=f7bcfb698d9a895a168fd29eefd7dba8fd9be849;hp=8fa699a0970c0bcdb3cb40dd8ec304340b0af75c;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/includes/InfoTables.h b/includes/InfoTables.h index 8fa699a..9b73aa5 100644 --- a/includes/InfoTables.h +++ b/includes/InfoTables.h @@ -353,7 +353,6 @@ typedef struct { #else StgInfoTable i; StgSRT *srt; /* pointer to the SRT table */ - StgFunPtr vector[FLEXIBLE_ARRAY]; #endif } StgRetInfoTable; @@ -380,6 +379,22 @@ typedef struct _StgThunkInfoTable { #endif } StgThunkInfoTable; +/* ----------------------------------------------------------------------------- + Constructor info tables + -------------------------------------------------------------------------- */ + +typedef struct _StgConInfoTable { +#if !defined(TABLES_NEXT_TO_CODE) + StgInfoTable i; +#endif + +char *con_desc; /* the name of the data constructor as: Package:Module.Name */ + +#if defined(TABLES_NEXT_TO_CODE) + StgInfoTable i; +#endif +} StgConInfoTable; + /* ----------------------------------------------------------------------------- Accessor macros for fields that might be offsets (C version)