diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-19 19:43:08 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-19 19:43:08 +0000 |
commit | ed27099755a9d34005b616231546f5ed017c61b9 (patch) | |
tree | 2ec40f53d3d2050ba8e44353d526755a9d8f66ef /gcc/sched-int.h | |
parent | 167b9fae86bca727a17f4d27a84c20bc9f60317a (diff) | |
download | gcc-ed27099755a9d34005b616231546f5ed017c61b9.zip gcc-ed27099755a9d34005b616231546f5ed017c61b9.tar.gz gcc-ed27099755a9d34005b616231546f5ed017c61b9.tar.bz2 |
bb_note returns a rtx_note *
2014-08-19 David Malcolm <dmalcolm@redhat.com>
* basic-block.h (bb_note): Strengthen return type from rtx to
rtx_note *.
* sched-int.h (bb_note): Likewise.
* cfgrtl.c (bb_note): Likewise. Add a checked cast to rtx_note *.
From-SVN: r214188
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 3680889..7f236a1 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -1368,7 +1368,7 @@ extern void sched_change_pattern (rtx, rtx); 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 bb_note (basic_block); +extern rtx_note *bb_note (basic_block); extern void concat_note_lists (rtx, rtx *); extern rtx sched_emit_insn (rtx); extern rtx get_ready_element (int); |