summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-03-08 00:18:38 +0100
committerMatthias Braun <matze@braunis.de>2013-03-12 10:26:24 +0100
commitaad59c31c385efe252434bed10710696a3c785d2 (patch)
tree83af21881fa55b47579bb63104a69d120574e4b0 /ir/be/bestate.c
parent1ebb96b9bf2138cc9c0b8cd61949abcf29501cf4 (diff)
remove assure_doms from public API, use assure_irg_properties instead
Diffstat (limited to 'ir/be/bestate.c')
-rw-r--r--ir/be/bestate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bestate.c b/ir/be/bestate.c
index 00768ea..917120b 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -463,8 +463,9 @@ void be_assure_state(ir_graph *irg, const arch_register_t *reg, void *func_env,
spill_info_t *info;
be_lv_t *lv = be_get_irg_liveness(irg);
+ assure_irg_properties(irg, IR_GRAPH_PROPERTY_CONSISTENT_LOOPINFO
+ | IR_GRAPH_PROPERTY_CONSISTENT_DOMINANCE);
be_assure_live_sets(irg);
- assure_loopinfo(irg);
obstack_init(&env.obst);
env.reg = reg;
@@ -476,7 +477,6 @@ void be_assure_state(ir_graph *irg, const arch_register_t *reg, void *func_env,
env.spills = NULL;
ir_nodehashmap_init(&env.spill_infos);
- assure_doms(irg);
ir_reserve_resources(irg, IR_RESOURCE_IRN_VISITED | IR_RESOURCE_IRN_LINK);
inc_irg_visited(irg);