summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestat.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-06-19 07:43:14 +0200
committerMatthias Braun <matze@braunis.de>2015-06-19 07:46:02 +0200
commit7726c953c2fc56ba65a50a634c521a4d1225a381 (patch)
treece02f4caec5453a91a7024713ab3ad905b963160 /ir/be/bestat.c
parent2109a91a5fe049e0b11a99b4bb070a9d20498292 (diff)
move op_estimated_cost callback to isa_if; remove arch_irn_ops
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 fe3f75b..6dd78f2 100644
--- a/ir/be/bestat.c
+++ b/ir/be/bestat.c
@@ -102,7 +102,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(node);
+ costs += isa_if->get_op_estimated_cost(node);
}
env->costs += costs * get_block_execfreq(block);