From: Kazu Hirata Date: Fri, 20 Feb 2004 16:21:25 +0000 (+0000) Subject: haifa-sched.c (sched_emit_insn): Remove. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c5988607f786bd75fddef3e76af3a41f5711e33;p=gcc.git haifa-sched.c (sched_emit_insn): Remove. * haifa-sched.c (sched_emit_insn): Remove. * sched-int.h: Remove the corresponding prototype. From-SVN: r78172 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5114bfd8b6f..993c1160ff1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-02-20 Kazu Hirata + + * haifa-sched.c (sched_emit_insn): Remove. + * sched-int.h: Remove the corresponding prototype. + 2004-02-20 Kazu Hirata Revert: diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 4750d960948..5cfce5936cb 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -2228,17 +2228,6 @@ choose_ready (struct ready_list *ready) } } -/* Called from backends from targetm.sched.reorder to emit stuff into - the instruction stream. */ - -rtx -sched_emit_insn (rtx pat) -{ - rtx insn = emit_insn_after (pat, last_scheduled_insn); - last_scheduled_insn = insn; - return insn; -} - /* Use forward list scheduling to rearrange insns of block B in region RGN, possibly bringing insns from subsequent blocks in the same region. */