diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2012-01-09 19:43:10 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2012-01-09 19:43:10 +0000 |
commit | ef2be24905e5133c356ffc606560954df3874bd1 (patch) | |
tree | a80e3d0754d775d696f7dd9afc3cf5fabbf319bb /gcc/haifa-sched.c | |
parent | 3c157c27baefcea754fcb95b1f3c6160493faaa4 (diff) | |
download | gcc-ef2be24905e5133c356ffc606560954df3874bd1.zip gcc-ef2be24905e5133c356ffc606560954df3874bd1.tar.gz gcc-ef2be24905e5133c356ffc606560954df3874bd1.tar.bz2 |
sched-int.h (bb_note): Move to...
gcc/
* sched-int.h (bb_note): Move to...
* basic-block.h: ...here.
* haifa-sched.c (bb_note): Move to...
* cfgrtl.c: ...here.
* function.c (next_block_for_reg): New function.
(move_insn_for_shrink_wrap): Likewise.
(prepare_shrink_wrap): Rewrite to use the above.
From-SVN: r183028
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 4db2313..4e1909a 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -6489,20 +6489,6 @@ add_jump_dependencies (rtx insn, rtx jump) gcc_assert (!sd_lists_empty_p (jump, SD_LIST_BACK)); } -/* Return the NOTE_INSN_BASIC_BLOCK of BB. */ -rtx -bb_note (basic_block bb) -{ - rtx note; - - note = BB_HEAD (bb); - if (LABEL_P (note)) - note = NEXT_INSN (note); - - gcc_assert (NOTE_INSN_BASIC_BLOCK_P (note)); - return note; -} - /* Extend data structures for logical insn UID. */ void sched_extend_luids (void) |