Commit a60af397 authored by Simon Marlow's avatar Simon Marlow
Browse files

FIX BUILD (non-profiling RTS was broken in previous patch)

parent e97c8fa8
......@@ -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();
......
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