path: root/ir/be/bestat.h
diff options
authorChristoph Mallon <>2008-10-11 22:55:53 +0200
committerChristoph Mallon <>2008-10-11 22:55:53 +0200
commitcabe54a4c9fe9bcd6e66a221fde914c7e16e274f (patch)
tree63a4804b2e85c886f804e38f087ea774b35e27b1 /ir/be/bestat.h
parentd293b8b097aeae699c77b20367b1d0014571ba48 (diff)
Remove the unused attribute const arch_env_t *arch_env from struct estimate_irg_costs_env_t and also the then unused parameter const arch_env_t *arch_env from be_estimate_irg_costs().
Diffstat (limited to 'ir/be/bestat.h')
1 files changed, 1 insertions, 2 deletions
diff --git a/ir/be/bestat.h b/ir/be/bestat.h
index afd81d4..ce1e3f6 100644
--- a/ir/be/bestat.h
+++ b/ir/be/bestat.h
@@ -66,8 +66,7 @@ void be_do_stat_reg_pressure(be_irg_t *birg, const arch_register_class_t *cls);
* Gives a cost estimate for the program (based on execution frequencies)
* and backend op_estimated_cost
-double be_estimate_irg_costs(ir_graph *irg, const arch_env_t *arch_env,
- ir_exec_freq *execfreqs);
+double be_estimate_irg_costs(ir_graph *irg, ir_exec_freq *execfreqs);
* return number of "instructions" (=nodes without some virtual nodes like Proj,