X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FLdvProfile.c;h=d0ed1c872c3256e9b183ffd400e8b12e8d3a457d;hb=423d477bfecd490de1449c59325c8776f91d7aac;hp=e325374d17404fd676c8589ded50b25faeb9b63c;hpb=858255ab48783ac56fe13cf75a32ccfee3372b26;p=ghc-hetmet.git diff --git a/ghc/rts/LdvProfile.c b/ghc/rts/LdvProfile.c index e325374..d0ed1c8 100644 --- a/ghc/rts/LdvProfile.c +++ b/ghc/rts/LdvProfile.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: LdvProfile.c,v 1.4 2003/01/30 10:06:35 simonmar Exp $ + * $Id: LdvProfile.c,v 1.7 2004/08/13 13:10:05 simonmar Exp $ * * (c) The GHC Team, 2001 * Author: Sungwoo Park @@ -10,12 +10,9 @@ #ifdef PROFILING -#include "Stg.h" #include "Rts.h" #include "LdvProfile.h" #include "RtsFlags.h" -#include "Itimer.h" -#include "Proftimer.h" #include "Profiling.h" #include "Stats.h" #include "Storage.h" @@ -96,7 +93,7 @@ LDV_recordDead_FILL_SLOP_DYNAMIC( StgClosure *p ) * closure. Returns the size of the closure, including the profiling * header portion, so that the caller can find the next closure. * ----------------------------------------------------------------------- */ -static inline nat +STATIC_INLINE nat processHeapClosureForDead( StgClosure *c ) { nat size;