X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FUpdates.h;h=12a48f4adb04f5fb9e3a5f69047cbb8de1e06e86;hb=21462c00b3241f15de3b145ac92ee5b266b5733a;hp=53983185290a1c76430de1ac061934597d1abdc4;hpb=c5a9b776f363a0cdc02dff3c2c475771f5adda52;p=ghc-hetmet.git diff --git a/ghc/includes/Updates.h b/ghc/includes/Updates.h index 5398318..12a48f4 100644 --- a/ghc/includes/Updates.h +++ b/ghc/includes/Updates.h @@ -1,5 +1,7 @@ /* ----------------------------------------------------------------------------- - * $Id: Updates.h,v 1.5 1999/01/18 15:21:42 simonm Exp $ + * $Id: Updates.h,v 1.8 1999/03/02 19:44:23 sof Exp $ + * + * (c) The GHC Team, 1998-1999 * * Definitions related to updates. * @@ -25,7 +27,6 @@ */ #define UPD_IND(updclosure, heapptr) \ - TICK_UPDATED_SET_UPDATED(updclosure); \ AWAKEN_BQ(updclosure); \ updateWithIndirection((StgClosure *)updclosure, \ (StgClosure *)heapptr); @@ -55,7 +56,7 @@ extern void awaken_blocked_queue(StgTSO *q); #define PUSH_STD_CCCS(frame) #endif -extern const StgPolyInfoTable Upd_frame_info; +extern DLL_IMPORT_DATA const StgPolyInfoTable Upd_frame_info; #define PUSH_UPD_FRAME(target, Sp_offset) \ { \ @@ -97,7 +98,7 @@ extern void newCAF(StgClosure*); #define UPD_CAF(cafptr, bhptr) \ { \ - SET_INFO((StgInd *)cafptr,&IND_STATIC_info); \ + SET_INFO((StgInd *)cafptr,(const StgInfoTable*)&IND_STATIC_info); \ ((StgInd *)cafptr)->indirectee = (StgClosure *)(bhptr); \ STGCALL1(newCAF,(StgClosure *)cafptr); \ } @@ -106,16 +107,16 @@ extern void newCAF(StgClosure*); Update-related prototypes -------------------------------------------------------------------------- */ -extern STGFUN(Upd_frame_entry); +DLL_IMPORT_RTS extern STGFUN(Upd_frame_entry); -extern const StgInfoTable PAP_info; -STGFUN(PAP_entry); +extern DLL_IMPORT_DATA const StgInfoTable PAP_info; +DLL_IMPORT_RTS STGFUN(PAP_entry); -EXTFUN(stg_update_PAP); +EXTFUN_RTS(stg_update_PAP); -extern const StgInfoTable AP_UPD_info; -STGFUN(AP_UPD_entry); +extern DLL_IMPORT_DATA const StgInfoTable AP_UPD_info; +DLL_IMPORT_RTS STGFUN(AP_UPD_entry); -extern const StgInfoTable raise_info; +extern DLL_IMPORT_DATA const StgInfoTable raise_info; #endif /* UPDATES_H */