summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestat.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/bestat.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/bestat.c')
-rw-r--r--ir/be/bestat.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/ir/be/bestat.c b/ir/be/bestat.c
index 4d31994..a1179a2 100644
--- a/ir/be/bestat.c
+++ b/ir/be/bestat.c
@@ -62,15 +62,14 @@ static void check_reg_pressure_class(pressure_walker_env_t *env,
ir_node *block,
const arch_register_class_t *cls)
{
- be_irg_t *birg = env->birg;
- ir_graph *irg = be_get_birg_irg(birg);
- const arch_env_t *aenv = be_get_birg_arch_env(birg);
- ir_node *irn;
- ir_nodeset_t live_nodes;
- int max_live;
+ be_irg_t *birg = env->birg;
+ ir_graph *irg = be_get_birg_irg(birg);
+ ir_node *irn;
+ ir_nodeset_t live_nodes;
+ int max_live;
ir_nodeset_init(&live_nodes);
- be_liveness_end_of_block(env->lv, aenv, cls, block, &live_nodes);
+ be_liveness_end_of_block(env->lv, cls, block, &live_nodes);
max_live = ir_nodeset_size(&live_nodes);
env->regpressure += max_live;