Commit 2dcaef36 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Fix opt/jumpthreading4.c

parent da29eb3f
......@@ -739,6 +739,10 @@ void opt_jumpthreading(ir_graph* irg)
remove_critical_cf_edges(irg);
/* ugly: jump threading might get confused by garbage nodes
* of mode_X in copy_and_fix_node(), so remove all garbage edges. */
edges_deactivate(irg);
edges_assure(irg);
ir_reserve_resources(irg, IR_RESOURCE_IRN_LINK | IR_RESOURCE_IRN_VISITED);
......
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