summaryrefslogtreecommitdiffhomepage
path: root/ir/be/belive.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/belive.c
parent3aeb68ad2fefc380a05eccba1a8105ddbbd4ab21 (diff)
Let foreach_out_edge_kind() and foreach_out_edge_kind_safe() declare their iterator variables.
Diffstat (limited to 'ir/be/belive.c')
-rw-r--r--ir/be/belive.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ir/be/belive.c b/ir/be/belive.c
index 5021d5f..bb1f804 100644
--- a/ir/be/belive.c
+++ b/ir/be/belive.c
@@ -318,7 +318,6 @@ typedef struct lv_remove_walker_t {
*/
static void liveness_for_node(ir_node *irn)
{
- const ir_edge_t *edge;
ir_node *def_block;
bitset_clear_all(re.visited);
@@ -517,8 +516,6 @@ void be_liveness_transfer(const arch_register_class_t *cls,
assert(!is_Phi(node) && "liveness_transfer produces invalid results for phi nodes");
if (get_irn_mode(node) == mode_T) {
- const ir_edge_t *edge;
-
foreach_out_edge(node, edge) {
ir_node *proj = get_edge_src_irn(edge);