From 8d65bd5225ca7f4cf6c2b09f5ca651d17d4b2516 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Tue, 11 Apr 2006 11:20:31 +0000 Subject: [PATCH] directly call stat_be_block_regpressure() and stat_be_block_sched_ready() --- ir/be/bestat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ir/be/bestat.c b/ir/be/bestat.c index de8e44c3e..ff78568d1 100644 --- a/ir/be/bestat.c +++ b/ir/be/bestat.c @@ -9,7 +9,7 @@ #include "irgwalk.h" #include "irhooks.h" #include "dbginfo_t.h" -#include "firmstat.h" +#include "firmstat_t.h" #include "ident.h" #include "bestat.h" @@ -45,7 +45,7 @@ static void stat_reg_pressure_block(ir_node *block, void *env) { max_live = cnt < max_live ? max_live : cnt; } - hook_be_block_regpressure(block, birg->irg, max_live, new_id_from_str(cls->name)); + stat_be_block_regpressure(birg->irg, block, max_live, new_id_from_str(cls->name)); } } @@ -58,7 +58,7 @@ void be_do_stat_reg_pressure(be_irg_t *birg) { * Notify statistic module about amount of ready nodes. */ void be_do_stat_sched_ready(ir_node *block, nodeset *ready_set) { - hook_be_block_sched_ready(block, get_irn_irg(block), MIN(nodeset_count(ready_set), 5)); + stat_be_block_sched_ready(get_irn_irg(block), block, nodeset_count(ready_set)); } #else -- 2.20.1