diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-25 21:22:02 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-25 21:22:02 +0000 |
commit | e97a173d7b99e48d3fed44cf1cf700940813f4a5 (patch) | |
tree | 45d21174cb693c4107abd15c5d5388f51572e027 /gcc/haifa-sched.c | |
parent | b24ef46757e17dd94014b0f55d1ba3bd050dbea0 (diff) | |
download | gcc-e97a173d7b99e48d3fed44cf1cf700940813f4a5.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214482 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 18f5726903a..45938bd6e96 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -4005,9 +4005,9 @@ schedule_insn (rtx_insn *insn) /* Add note list that ends on FROM_END to the end of TO_ENDP. */ void -concat_note_lists (rtx from_end, rtx *to_endp) +concat_note_lists (rtx_insn *from_end, rtx_insn **to_endp) { - rtx from_start; + rtx_insn *from_start; /* It's easy when have nothing to concat. */ if (from_end == NULL) |