summaryrefslogtreecommitdiff
path: root/gcc/regstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/regstat.c')
-rw-r--r--gcc/regstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/regstat.c b/gcc/regstat.c
index 48d27c3f86a..6a191d8ceab 100644
--- a/gcc/regstat.c
+++ b/gcc/regstat.c
@@ -375,7 +375,7 @@ regstat_compute_ri (void)
reg_info_p = XCNEWVEC (struct reg_info_t, max_regno);
local_live_last_luid = XNEWVEC (int, max_regno);
- FOR_EACH_BB (bb)
+ FOR_EACH_BB_FN (bb, cfun)
{
regstat_bb_compute_ri (bb->index, live, artificial_uses,
local_live, local_processed,
@@ -522,7 +522,7 @@ regstat_compute_calls_crossed (void)
reg_info_p_size = max_regno;
reg_info_p = XCNEWVEC (struct reg_info_t, max_regno);
- FOR_EACH_BB (bb)
+ FOR_EACH_BB_FN (bb, cfun)
{
regstat_bb_compute_calls_crossed (bb->index, live);
}