summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.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/bestate.c
parent4ebb78a2be2a05ab9ada73a50aae9269a78f1b3e (diff)
remove loopinfo stuff and exclusively use IR_GRAPH_STATE_CONSISTENT_LOOPINFO
Diffstat (limited to 'ir/be/bestate.c')
-rw-r--r--ir/be/bestate.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ir/be/bestate.c b/ir/be/bestate.c
index 7f831ea..3daf4bd 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -529,10 +529,7 @@ void be_assure_state(ir_graph *irg, const arch_register_t *reg, void *func_env,
be_lv_t *lv = be_assure_liveness(irg);
be_liveness_assure_sets(lv);
- /* construct control flow loop tree */
- if (! (get_irg_loopinfo_state(irg) & loopinfo_cf_consistent)) {
- construct_cf_backedges(irg);
- }
+ assure_loopinfo(irg);
obstack_init(&env.obst);
env.reg = reg;