From 2c5988607f786bd75fddef3e76af3a41f5711e33 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 20 Feb 2004 16:21:25 +0000 Subject: [PATCH] haifa-sched.c (sched_emit_insn): Remove. * haifa-sched.c (sched_emit_insn): Remove. * sched-int.h: Remove the corresponding prototype. From-SVN: r78172 --- gcc/ChangeLog | 5 +++++ gcc/haifa-sched.c | 11 ----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5114bfd..993c116 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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: 2004-02-19 Kazu Hirata * opts.c (decode_options): Don't use DEFAULT_SHORT_ENUMS. diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 4750d96..5cfce59 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. */ -- 2.7.4