summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beblocksched.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-09-16 13:56:54 +0200
committerMatthias Braun <matze@braunis.de>2011-09-20 09:34:24 +0200
commit3bb47464dc990c9def630a208a12da1bdd035bbb (patch)
treecaba325ffb1a40fadb0fe18d38f34658d4a317a4 /ir/be/beblocksched.c
parent4ebb78a2be2a05ab9ada73a50aae9269a78f1b3e (diff)
remove loopinfo stuff and exclusively use IR_GRAPH_STATE_CONSISTENT_LOOPINFO
Diffstat (limited to 'ir/be/beblocksched.c')
-rw-r--r--ir/be/beblocksched.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ir/be/beblocksched.c b/ir/be/beblocksched.c
index a398d4a..4e76c02 100644
--- a/ir/be/beblocksched.c
+++ b/ir/be/beblocksched.c
@@ -498,10 +498,7 @@ static ir_node **create_block_schedule_greedy(ir_graph *irg, ir_exec_freq *execf
env.worklist = NULL;
env.blockcount = 0;
- /* make sure loopinfo is up-to-date */
- if (! (get_irg_loopinfo_state(irg) & loopinfo_cf_consistent)) {
- construct_cf_backedges(irg);
- }
+ assure_loopinfo(irg);
// collect edge execution frequencies
irg_block_walk_graph(irg, collect_egde_frequency, NULL, &env);