diff options
Diffstat (limited to 'gcc/sel-sched-ir.c')
-rw-r--r-- | gcc/sel-sched-ir.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/gcc/sel-sched-ir.c b/gcc/sel-sched-ir.c index 0531b2863a4..c36658f15c4 100644 --- a/gcc/sel-sched-ir.c +++ b/gcc/sel-sched-ir.c @@ -4623,7 +4623,7 @@ static void init_bb (basic_block bb) { remove_notes (bb_note (bb), BB_END (bb)); - SET_BB_NOTE_LIST (bb) = note_list; + BB_NOTE_LIST (bb) = note_list; } void @@ -4658,7 +4658,7 @@ sel_restore_notes (void) { note_list = BB_NOTE_LIST (first); restore_other_notes (NULL, first); - SET_BB_NOTE_LIST (first) = NULL_RTX; + BB_NOTE_LIST (first) = NULL; FOR_BB_INSNS (first, insn) if (NONDEBUG_INSN_P (insn)) @@ -5266,8 +5266,8 @@ move_bb_info (basic_block merge_bb, basic_block empty_bb) { if (in_current_region_p (merge_bb)) concat_note_lists (BB_NOTE_LIST (empty_bb), - &SET_BB_NOTE_LIST (merge_bb)); - SET_BB_NOTE_LIST (empty_bb) = NULL_RTX; + &BB_NOTE_LIST (merge_bb)); + BB_NOTE_LIST (empty_bb) = NULL; } @@ -6456,17 +6456,6 @@ rtx& SET_VINSN_INSN_RTX (vinsn_t vi) return vi->insn_rtx; } -rtx_insn *BB_NOTE_LIST (basic_block bb) -{ - rtx note_list = SEL_REGION_BB_INFO (bb)->note_list; - return safe_as_a <rtx_insn *> (note_list); -} - -rtx& SET_BB_NOTE_LIST (basic_block bb) -{ - return SEL_REGION_BB_INFO (bb)->note_list; -} - rtx_insn *BND_TO (bnd_t bnd) { return safe_as_a <rtx_insn *> (bnd->to); |