summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestat.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 18:11:27 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2008-10-11 18:11:27 +0200
commit9eb02a6913904e034aa0ff1d55330e0245f7c268 (patch)
treeda8c58ac71f66218a6d0177b9640f43296d41e96 /ir/be/bestat.c
parent6d64da24e970f54e9c55b6df1e81c6925492c4ed (diff)
Remove the unused parameter const arch_env_t *env from arch_get_op_estimated_cost().
[r22684]
Diffstat (limited to 'ir/be/bestat.c')
-rw-r--r--ir/be/bestat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bestat.c b/ir/be/bestat.c
index 1c3d9dd..df3a5c6 100644
--- a/ir/be/bestat.c
+++ b/ir/be/bestat.c
@@ -137,7 +137,7 @@ static void estimate_block_costs(ir_node *block, void *data)
double costs = 0.0;
sched_foreach(block, node) {
- costs += arch_get_op_estimated_cost(env->arch_env, node);
+ costs += arch_get_op_estimated_cost(node);
}
env->costs += costs * get_block_execfreq(env->execfreqs, block);