diff options
Diffstat (limited to 'gcc/regstat.c')
-rw-r--r-- | gcc/regstat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/regstat.c b/gcc/regstat.c index 85678a70f68..48d27c3f86a 100644 --- a/gcc/regstat.c +++ b/gcc/regstat.c @@ -120,7 +120,7 @@ regstat_bb_compute_ri (unsigned int bb_index, bitmap local_live, bitmap local_processed, int *local_live_last_luid) { - basic_block bb = BASIC_BLOCK (bb_index); + basic_block bb = BASIC_BLOCK_FOR_FN (cfun, bb_index); rtx insn; df_ref *def_rec; df_ref *use_rec; @@ -440,7 +440,7 @@ regstat_get_setjmp_crosses (void) static void regstat_bb_compute_calls_crossed (unsigned int bb_index, bitmap live) { - basic_block bb = BASIC_BLOCK (bb_index); + basic_block bb = BASIC_BLOCK_FOR_FN (cfun, bb_index); rtx insn; df_ref *def_rec; df_ref *use_rec; |