summaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-09 19:43:10 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-09 19:43:10 +0000
commit018f0595d4f663d5729a4cf29567feb8f92695de (patch)
treea80e3d0754d775d696f7dd9afc3cf5fabbf319bb /gcc/haifa-sched.c
parent2f7233cb6381c4b20bb0b512cafb9418baa6547e (diff)
downloadgcc-018f0595d4f663d5729a4cf29567feb8f92695de.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183028 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index 4db23139b10..4e1909a535f 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)