From a60af39758448f92d8eaa3b62072f9adcdbbee9d Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 8 May 2007 13:20:49 +0000 Subject: [PATCH] FIX BUILD (non-profiling RTS was broken in previous patch) --- rts/ProfHeap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index 19abac7..e8966ec 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -523,6 +523,7 @@ endHeapProfiling(void) } #endif +#ifdef PROFILING if (doingLDVProfiling()) { nat t; for (t = 1; t <= era; t++) { @@ -531,6 +532,10 @@ endHeapProfiling(void) } else { freeEra( &censuses[0] ); } +#else + freeEra( &censuses[0] ); +#endif + stgFree(censuses); seconds = mut_user_time(); -- 1.7.10.4