Commit 3eac10ae authored by Daniel Gröber (dxld)'s avatar Daniel Gröber (dxld) Committed by Marge Bot

rts: ProfHeap: Merge some redundant ifdefs

parent fc4bd556
......@@ -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] );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment