From: Christian Würdig Date: Mon, 3 Jul 2006 13:15:38 +0000 (+0000) Subject: fixed regalloc timer usage (use only when timing on) X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=f31a1cf68a902236ec941408ddc11da99d9c1648;p=libfirm fixed regalloc timer usage (use only when timing on) --- diff --git a/ir/be/bemain.c b/ir/be/bemain.c index 9dfb22765..3a4eea9c0 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -513,13 +513,13 @@ static void be_main_loop(FILE *file_handle) BE_TIMER_POP(); - lc_timer_start(t_regalloc); + BE_TIMER_ONLY(lc_timer_start(t_regalloc)); /* Do register allocation */ ra_timer = ra->allocate(&birg); dump(DUMP_RA, irg, "-ra", dump_ir_block_graph_sched); - lc_timer_stop(t_regalloc); + BE_TIMER_ONLY(lc_timer_stop(t_regalloc)); be_do_stat_nodes(irg, "06 Register Allocation");