From 54a798c351d4898d5c204d836f2225f543bdc6da Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sun, 25 Nov 2012 18:30:35 +0100 Subject: [PATCH] bechordal: Remove T_RA_PROLOG. It only measures initializing a single struct. --- ir/be/be_t.h | 1 - ir/be/bechordal_main.c | 5 ----- ir/be/bemain.c | 1 - 3 files changed, 7 deletions(-) diff --git a/ir/be/be_t.h b/ir/be/be_t.h index 7d883666f..336950198 100644 --- a/ir/be/be_t.h +++ b/ir/be/be_t.h @@ -118,7 +118,6 @@ typedef enum { T_LIVE, T_EXECFREQ, T_SSA_CONSTR, - T_RA_PROLOG, T_RA_EPILOG, T_RA_CONSTR, T_RA_SPILL, diff --git a/ir/be/bechordal_main.c b/ir/be/bechordal_main.c index 148ebbf35..bb53b546b 100644 --- a/ir/be/bechordal_main.c +++ b/ir/be/bechordal_main.c @@ -347,8 +347,6 @@ static void be_ra_chordal_main(ir_graph *irg) be_timer_push(T_RA_OTHER); - be_timer_push(T_RA_PROLOG); - be_chordal_env_t chordal_env; obstack_init(&chordal_env.obst); chordal_env.opts = &options; @@ -357,9 +355,6 @@ static void be_ra_chordal_main(ir_graph *irg) chordal_env.ifg = NULL; chordal_env.allocatable_regs = NULL; - - be_timer_pop(T_RA_PROLOG); - if (stat_ev_enabled) { be_collect_node_stats(&last_node_stats, irg); } diff --git a/ir/be/bemain.c b/ir/be/bemain.c index 5a3b33f60..612a33953 100644 --- a/ir/be/bemain.c +++ b/ir/be/bemain.c @@ -504,7 +504,6 @@ static const char *get_timer_name(be_timer_id_t id) case T_LIVE: return "live"; case T_EXECFREQ: return "execfreq"; case T_SSA_CONSTR: return "ssa_constr"; - case T_RA_PROLOG: return "ra_prolog"; case T_RA_EPILOG: return "ra_epilog"; case T_RA_CONSTR: return "ra_constr"; case T_RA_SPILL: return "ra_spill"; -- 2.20.1