From bb4b701ebadcf132a2a6637f41db3c845d51de78 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 11 Feb 2010 12:27:09 +0000 Subject: [PATCH] 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] --- ir/be/bemain.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ir/be/bemain.c b/ir/be/bemain.c index 36d9d9ed4..4dde352a1 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -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(); -- 2.20.1