Eliminate BB_NOTE_LIST scaffolding
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 25 Aug 2014 21:22:02 +0000 (21:22 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 25 Aug 2014 21:22:02 +0000 (21:22 +0000)
commitb311fd0f70cb3687dd0c2fd01beb358aba3fdb79
tree45d21174cb693c4107abd15c5d5388f51572e027
parentce1ce33a037057b77a99ed0613f4369546dc82cd
Eliminate BB_NOTE_LIST scaffolding

gcc/
* sel-sched-ir.h (struct sel_region_bb_info_def): Strengthen field
"note_list" from rtx to rtx_insn *.
(BB_NOTE_LIST): Replace this function and...
(SET_BB_NOTE_LIST): ...this function with...
(BB_NOTE_LIST): ...the former macro implementation.

* sched-int.h (concat_note_lists): Strengthen param "from_end" and
local "from_start" from rtx to rtx_insn *.  Strengthen param
"to_endp" from rtx * to rtx_insn **.

* haifa-sched.c (concat_note_lists): Likewise.
* sel-sched-ir.c (init_bb): Eliminate SET_BB_NOTE_LIST in favor of
BB_NOTE_LIST.
(sel_restore_notes): Likewise.
(move_bb_info): Likewise.
(BB_NOTE_LIST): Delete this function.
(SET_BB_NOTE_LIST): Delete this function.
* sel-sched.c (create_block_for_bookkeeping): Eliminate
SET_BB_NOTE_LIST in favor of BB_NOTE_LIST.

/
* rtx-classes-status.txt (TODO): Remove SET_BB_NOTE_LIST.

From-SVN: r214482
ChangeLog
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-int.h
gcc/sel-sched-ir.c
gcc/sel-sched-ir.h
gcc/sel-sched.c
rtx-classes-status.txt