do not free the graph after emitting it (this should only change the peak memory...
authorMatthias Braun <matze@braunis.de>
Thu, 11 Feb 2010 12:27:09 +0000 (12:27 +0000)
committerMatthias Braun <matze@braunis.de>
Thu, 11 Feb 2010 12:27:09 +0000 (12:27 +0000)
[r27115]

ir/be/bemain.c

index 36d9d9e..4dde352 100644 (file)
@@ -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();