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)
be_transform_node(node);
}
/* fix loops and set new anchors*/
/* Fix loops. */
inc_irg_visited(irg);
foreach_irn_in_r(old_anchor, i, n) {
ir_node *const anchor = (ir_node*)get_irn_link(n);
fix_loops(anchor);
foreach_irn_in_r(new_anchor, i, n) {
fix_loops(n);
}
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