diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-25 21:22:02 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-25 21:22:02 +0000 |
commit | b311fd0f70cb3687dd0c2fd01beb358aba3fdb79 (patch) | |
tree | 45d21174cb693c4107abd15c5d5388f51572e027 /gcc/sched-int.h | |
parent | ce1ce33a037057b77a99ed0613f4369546dc82cd (diff) | |
download | gcc-b311fd0f70cb3687dd0c2fd01beb358aba3fdb79.zip gcc-b311fd0f70cb3687dd0c2fd01beb358aba3fdb79.tar.gz gcc-b311fd0f70cb3687dd0c2fd01beb358aba3fdb79.tar.bz2 |
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
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r-- | gcc/sched-int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h index 2e52722..9f2a3e4 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -1370,7 +1370,7 @@ extern int sched_speculate_insn (rtx, ds_t, rtx *); extern void unlink_bb_notes (basic_block, basic_block); extern void add_block (basic_block, basic_block); extern rtx_note *bb_note (basic_block); -extern void concat_note_lists (rtx, rtx *); +extern void concat_note_lists (rtx_insn *, rtx_insn **); extern rtx_insn *sched_emit_insn (rtx); extern rtx get_ready_element (int); extern int number_in_ready (void); |