diff options
Diffstat (limited to 'rts/ProfHeap.c')
-rw-r--r-- | rts/ProfHeap.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/rts/ProfHeap.c b/rts/ProfHeap.c index 336013f255..acbfeea01f 100644 --- a/rts/ProfHeap.c +++ b/rts/ProfHeap.c @@ -577,23 +577,14 @@ endHeapProfiling(void) #if defined(PROFILING) if (doingRetainerProfiling()) { endRetainerProfiling(); - } -#endif - -#if defined(PROFILING) - if (doingLDVProfiling()) { + } else if (doingLDVProfiling()) { uint32_t t; LdvCensusKillAll(); aggregateCensusInfo(); for (t = 1; t < era; t++) { dumpCensus( &censuses[t] ); } - } -#endif -#if defined(PROFILING) - if (doingLDVProfiling()) { - uint32_t t; if (RtsFlags.ProfFlags.bioSelector != NULL) { for (t = 1; t <= era; t++) { freeEra( &censuses[t] ); |