X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FRetainerProfile.h;h=5eec192bbaec52ae76ae58cccc41eec46ddda1a9;hb=6711557e24964abc6ace91cbe1089fa338e68b60;hp=51ddc64e4b3e5dd1e753095576dc875459e607c6;hpb=dbef766ce79e37a74468a07a93b15ba1f06fe8f8;p=ghc-hetmet.git diff --git a/ghc/rts/RetainerProfile.h b/ghc/rts/RetainerProfile.h index 51ddc64..5eec192 100644 --- a/ghc/rts/RetainerProfile.h +++ b/ghc/rts/RetainerProfile.h @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RetainerProfile.h,v 1.2 2001/11/26 16:54:21 simonmar Exp $ + * $Id: RetainerProfile.h,v 1.4 2004/08/13 13:10:29 simonmar Exp $ * * (c) The GHC Team, 2001 * Author: Sungwoo Park @@ -21,7 +21,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 +38,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 */