Commit 570bff8b authored by yb9976's avatar yb9976
Browse files

Use out edges instead of outs.

This fixes backend/ia32_scheduled2.c.
parent cfff7c32
...@@ -112,7 +112,8 @@ static void move_other_uses(ir_node *node, ir_node *copy) ...@@ -112,7 +112,8 @@ static void move_other_uses(ir_node *node, ir_node *copy)
* scheduled before copy. */ * scheduled before copy. */
ir_node *copy_prev = get_irn_sched_info(copy)->prev; ir_node *copy_prev = get_irn_sched_info(copy)->prev;
foreach_irn_out(node, i, proj) { foreach_out_edge(node, out) {
ir_node *proj = get_edge_src_irn(out);
if (get_irn_mode(proj) == flag_class->mode) { if (get_irn_mode(proj) == flag_class->mode) {
continue; continue;
} }
......
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