Commit 256ef882 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

remove Bads makes outs inconsistent

parent 14b28714
......@@ -333,8 +333,10 @@ int optimize_graph_df(ir_graph *irg)
end = get_irg_end(irg);
remove_End_Bads_and_doublets(end);
if (remove_Bads(irg))
if (remove_Bads(irg)) {
edges_deactivate(irg);
set_irg_outs_inconsistent(irg);
}
clear_irg_state(irg, IR_GRAPH_STATE_BAD_BLOCK);
......
Markdown is supported
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