Commit cee02777 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

be: Do not redundantly set the operands of the new anchor again.

The new anchor gets the transformed operands earlier already.
parent 85165dfe
...@@ -274,11 +274,10 @@ static void transform_nodes(ir_graph *irg, arch_pretrans_nodes *pre_transform) ...@@ -274,11 +274,10 @@ static void transform_nodes(ir_graph *irg, arch_pretrans_nodes *pre_transform)
be_transform_node(node); be_transform_node(node);
} }
/* fix loops and set new anchors*/ /* Fix loops. */
inc_irg_visited(irg); inc_irg_visited(irg);
foreach_irn_in_r(old_anchor, i, n) { foreach_irn_in_r(new_anchor, i, n) {
ir_node *const anchor = (ir_node*)get_irn_link(n); fix_loops(n);
fix_loops(anchor);
} }
del_waitq(env.worklist); del_waitq(env.worklist);
......
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