X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FClosureMacros.h;h=0690981adf8955edea39cb62933e0c7380d149b7;hb=5a3d608fc309666876d7decaff9824ff0ea22045;hp=0f276d50c6cbf43ece2119c99427c8009e2cbc9e;hpb=45936dbd56b8bb846e14d8f38ef8153ec91a3457;p=ghc-hetmet.git diff --git a/ghc/includes/ClosureMacros.h b/ghc/includes/ClosureMacros.h index 0f276d5..0690981 100644 --- a/ghc/includes/ClosureMacros.h +++ b/ghc/includes/ClosureMacros.h @@ -1,5 +1,5 @@ /* ---------------------------------------------------------------------------- - * $Id: ClosureMacros.h,v 1.30 2000/12/11 12:36:59 simonmar Exp $ + * $Id: ClosureMacros.h,v 1.32 2001/02/06 11:41:04 rrt Exp $ * * (c) The GHC Team, 1998-1999 * @@ -15,11 +15,6 @@ program may reside in a DLL */ -#undef TEXT_BEFORE_HEAP -#ifndef mingw32_TARGET_OS -#define TEXT_BEFORE_HEAP 1 -#endif - /* ----------------------------------------------------------------------------- Info tables are slammed up against the entry code, and the label for the info table is at the *end* of the table itself. This @@ -131,7 +126,7 @@ static __inline__ StgFunPtr get_entry(const StgInfoTable *itbl) { Static closures are defined as follows: - SET_STATIC_HDR(PrelBase_CZh_closure,PrelBase_CZh_info,costCentreStack,const); + SET_STATIC_HDR(PrelBase_CZh_closure,PrelBase_CZh_info,costCentreStack,closure_class,info_class); The info argument must have type 'StgInfoTable' or 'StgSRTInfoTable', since we use '&' to get its address in the macro.