summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespillslots.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 09:35:51 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 23:03:57 +0200
commit5619c9122551713adbefc33977572639408dd8b9 (patch)
treed2733b5f8b468ee8e05bea8191c1406efb41a865 /ir/be/bespillslots.c
parent3aeb68ad2fefc380a05eccba1a8105ddbbd4ab21 (diff)
Let foreach_out_edge_kind() and foreach_out_edge_kind_safe() declare their iterator variables.
Diffstat (limited to 'ir/be/bespillslots.c')
-rw-r--r--ir/be/bespillslots.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ir/be/bespillslots.c b/ir/be/bespillslots.c
index 5e3b6f8..b1b2638 100644
--- a/ir/be/bespillslots.c
+++ b/ir/be/bespillslots.c
@@ -224,7 +224,6 @@ static int my_values_interfere2(ir_graph *irg, const ir_node *a,
/* If there is no dominance relation, they do not interfere. */
if ((a2b | b2a) > 0) {
- const ir_edge_t *edge;
ir_node *bb;
/*
@@ -260,7 +259,6 @@ static int my_values_interfere2(ir_graph *irg, const ir_node *a,
foreach_out_edge(a, edge) {
const ir_node *user = get_edge_src_irn(edge);
if (is_Sync(user)) {
- const ir_edge_t *edge2;
foreach_out_edge(user, edge2) {
const ir_node *user2 = get_edge_src_irn(edge2);
assert(!is_Sync(user2));