Commit bb4b701e authored by Matthias Braun's avatar Matthias Braun
Browse files

do not free the graph after emitting it (this should only change the peak...

do not free the graph after emitting it (this should only change the peak memory allocation of firm marginally). The gas dumper needs the irg info sometimes.

[r27115]
parent c527f75e
......@@ -849,12 +849,6 @@ static void be_main_loop(FILE *file_handle, const char *cup_name)
}
be_free_birg(birg);
/* switched off due to statistics (statistic module needs all irgs) */
#ifdef FIRM_STATISTICS
if (! stat_active)
#endif /* FIRM_STATISTICS */
remove_irp_irg(irg);
stat_ev_ctx_pop("bemain_irg");
}
ir_profile_free();
......
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