X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FUpdates.h;h=87b7bd62671786c5eb3f3775597d05ea60c3e233;hb=7eb748f5300edcd849a9ba4eba28efc51f71ad9d;hp=b29fcc235361be363691dafee2ba805ece1f72b1;hpb=20fc2f0ced64a12d8e44956931b2ac341ed2186f;p=ghc-hetmet.git diff --git a/ghc/includes/Updates.h b/ghc/includes/Updates.h index b29fcc2..87b7bd6 100644 --- a/ghc/includes/Updates.h +++ b/ghc/includes/Updates.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: Updates.h,v 1.24 2001/03/22 03:51:09 hwloidl Exp $ + * $Id: Updates.h,v 1.27 2001/12/10 18:07:09 sof Exp $ * * (c) The GHC Team, 1998-1999 * @@ -39,7 +39,7 @@ #define UPD_REAL_IND(updclosure, heapptr) \ { \ const StgInfoTable *info; \ - if (Bdescr((P_)updclosure)->back != (bdescr *)BaseReg) { \ + if (Bdescr((P_)updclosure)->u.back != (bdescr *)BaseReg) { \ info = LOCK_CLOSURE(updclosure); \ } else { \ info = updclosure->header.info; \ @@ -178,7 +178,9 @@ extern void awakenBlockedQueue(StgTSO *q); ------------------------------------------------------------------------- */ #if defined(PROFILING) -#define PUSH_STD_CCCS(frame) frame->header.prof.ccs = CCCS +// frame->header.prof.hp.rs = NULL (or frame-header.prof.hp.ldvw = 0) is unnecessary +// because it is not used anyhow. +#define PUSH_STD_CCCS(frame) (frame->header.prof.ccs = CCCS) #else #define PUSH_STD_CCCS(frame) #endif @@ -239,13 +241,13 @@ extern void newCAF(StgClosure*); Update-related prototypes -------------------------------------------------------------------------- */ +EXTFUN_RTS(__stg_update_PAP); + DLL_IMPORT_RTS extern STGFUN(stg_upd_frame_entry); extern DLL_IMPORT_RTS const StgInfoTable stg_PAP_info; DLL_IMPORT_RTS STGFUN(stg_PAP_entry); -EXTFUN_RTS(stg_update_PAP); - extern DLL_IMPORT_RTS const StgInfoTable stg_AP_UPD_info; DLL_IMPORT_RTS STGFUN(stg_AP_UPD_entry);