X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FStg.h;h=b6bbcfad9201324d6e45e25dd63bd859312a2c78;hb=dc659a71aa421b903eff7011c49aaf68a583f875;hp=43ce31a74d27f0c1c2359f60345ec11cf6568ede;hpb=77186ef4db545f7ce2040715300019ea09414c41;p=ghc-hetmet.git diff --git a/ghc/includes/Stg.h b/ghc/includes/Stg.h index 43ce31a..b6bbcfa 100644 --- a/ghc/includes/Stg.h +++ b/ghc/includes/Stg.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Stg.h,v 1.49 2002/09/06 14:34:14 simonmar Exp $ + * $Id: Stg.h,v 1.54 2003/07/22 13:23:44 simonmar Exp $ * * (c) The GHC Team, 1998-1999 * @@ -78,9 +78,6 @@ # define LAZY_BLACKHOLING #endif -/* ToDo: remove */ -#define COMPILER 1 - /* TABLES_NEXT_TO_CODE says whether to assume that info tables are * assumed to reside just before the code for a function. * @@ -170,6 +167,7 @@ typedef StgWord64 LW_; #include "StgLdvProf.h" /* Storage format definitions */ +#include "StgFun.h" #include "Closures.h" #include "ClosureTypes.h" #include "InfoTables.h" @@ -191,6 +189,13 @@ typedef StgWord64 LW_; /* RTS public interface */ #include "RtsAPI.h" +/* System headers: stdlib.h is eeded so that we can use NULL. It must + * come after MachRegs.h, because stdlib.h might define some inline + * functions which may only be defined after register variables have + * been declared. + */ +#include + #ifdef SMP #include #endif @@ -227,6 +232,10 @@ DLL_IMPORT_RTS extern int prog_argc; extern void stackOverflow(void); +#if defined(WANT_DOTNET_SUPPORT) +#include "DNInvoke.h" +#endif + /* Creating and destroying an adjustor thunk. I cannot make myself create a separate .h file for these two (sof.)