summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beloopana.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 10:08:20 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2012-07-13 23:03:58 +0200
commit6153d2198a2cf1234c50acc744243306bd9ab1a5 (patch)
tree7e387c9698880043770bc35b96c60dd3642a6e7b /ir/be/beloopana.c
parent5619c9122551713adbefc33977572639408dd8b9 (diff)
Let sched_foreach_from() and sched_foreach_reverse_from() declare their iterator variables.
Diffstat (limited to 'ir/be/beloopana.c')
-rw-r--r--ir/be/beloopana.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ir/be/beloopana.c b/ir/be/beloopana.c
index 815b190..f83e4c9 100644
--- a/ir/be/beloopana.c
+++ b/ir/be/beloopana.c
@@ -74,10 +74,9 @@ static unsigned be_compute_block_pressure(const ir_graph *irg,
ir_node *block,
const arch_register_class_t *cls)
{
- be_lv_t *lv = be_get_irg_liveness(irg);
- ir_nodeset_t live_nodes;
- ir_node *irn;
- size_t max_live;
+ be_lv_t *lv = be_get_irg_liveness(irg);
+ ir_nodeset_t live_nodes;
+ size_t max_live;
DBG((dbg, LEVEL_1, "Processing Block %+F\n", block));