From f31a1cf68a902236ec941408ddc11da99d9c1648 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20W=C3=BCrdig?= Date: Mon, 3 Jul 2006 13:15:38 +0000 Subject: [PATCH] fixed regalloc timer usage (use only when timing on) --- ir/be/bemain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.20.1