Commit de4d897e authored by Matthias Braun's avatar Matthias Braun
Browse files

assure that the dominance tree is always computed

parent 2060cd96
......@@ -3586,7 +3586,11 @@ void combo(ir_graph *irg)
* apply_cf(). */
apply_end(get_irg_end(irg), &env);
/* need a freshly computed dominance tree (after killing unreachable code
* it is not valid anymore) */
confirm_irg_properties(irg, IR_GRAPH_PROPERTY_CONSISTENT_DOMINANCE);
irg_walk_graph(irg, NULL, apply_result, &env);
len = ARR_LEN(env.kept_memory);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment