X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRetainerProfile.h;h=827daa8ef468c779ac25441dc8610d3100146937;hb=61ccfec175e1f51b2c89559faf91d9bee0b3b601;hp=51ddc64e4b3e5dd1e753095576dc875459e607c6;hpb=dbef766ce79e37a74468a07a93b15ba1f06fe8f8;p=ghc-hetmet.git diff --git a/ghc/rts/RetainerProfile.h b/ghc/rts/RetainerProfile.h index 51ddc64..827daa8 100644 --- a/ghc/rts/RetainerProfile.h +++ b/ghc/rts/RetainerProfile.h @@ -1,5 +1,4 @@ /* ----------------------------------------------------------------------------- - * $Id: RetainerProfile.h,v 1.2 2001/11/26 16:54:21 simonmar Exp $ * * (c) The GHC Team, 2001 * Author: Sungwoo Park @@ -21,7 +20,7 @@ extern void printRetainer ( FILE *, retainer ); extern void retainerProfile ( void ); extern void resetStaticObjectForRetainerProfiling ( void ); -extern StgWord flip; +extern StgWord RTS_VAR(flip); // extract the retainer set field from c #define RSET(c) ((c)->header.prof.hp.rs) @@ -38,9 +37,9 @@ retainerSetOf( StgClosure *c ) return (RetainerSet *)((StgWord)RSET(c) ^ flip); } -// firstStack is exported because memInventory() in Schedule.c uses it. +// Used by Storage.c:memInventory() #ifdef DEBUG -extern bdescr *firstStack; +extern lnat retainerStackBlocks ( void ); #endif #endif /* PROFILING */