summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beloopana.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 21:21:44 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 21:21:44 +0200
commit85f2a7413f3356c2cfad953b52913f2ba79413f6 (patch)
treede1170a1abb1dd2c393215b2119355e8f92c1a88 /ir/be/beloopana.c
parentc8aeb8f4758d38f1663292e77cc9c55be87439fa (diff)
Remove the unused parameter const arch_env_t *arch_env from be_liveness_end_of_block().
[r22718]
Diffstat (limited to 'ir/be/beloopana.c')
-rw-r--r--ir/be/beloopana.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/beloopana.c b/ir/be/beloopana.c
index 194006d..61a18fb 100644
--- a/ir/be/beloopana.c
+++ b/ir/be/beloopana.c
@@ -76,7 +76,6 @@ static unsigned be_compute_block_pressure(be_loopana_t *loop_ana,
ir_node *block, const arch_register_class_t *cls)
{
const be_irg_t *birg = loop_ana->birg;
- const arch_env_t *aenv = be_get_birg_arch_env(birg);
be_lv_t *lv = be_get_birg_liveness(birg);
ir_nodeset_t live_nodes;
ir_node *irn;
@@ -86,7 +85,7 @@ static unsigned be_compute_block_pressure(be_loopana_t *loop_ana,
/* determine largest pressure with this block */
ir_nodeset_init(&live_nodes);
- be_liveness_end_of_block(lv, aenv, cls, block, &live_nodes);
+ be_liveness_end_of_block(lv, cls, block, &live_nodes);
max_live = ir_nodeset_size(&live_nodes);
sched_foreach_reverse(block, irn) {