sched-ebb.c (begin_schedule_ready): Remove second argument.
authorBernd Schmidt <bernds@codesourcery.com>
Fri, 1 Apr 2011 17:46:17 +0000 (17:46 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 1 Apr 2011 17:46:17 +0000 (17:46 +0000)
commit86014d074872876f5340bfe9107eb577fd06b203
tree3cfbbe26eff243d60d0a43f726d613c2f146bae0
parent2a6a0d809f0fe62306e21aaad89227205181e0e4
sched-ebb.c (begin_schedule_ready): Remove second argument.

* sched-ebb.c (begin_schedule_ready): Remove second argument.
Split most of the code into...
(begin_move_insn): ... here.  New function.
(ebb_sched_info): Add a pointer to it.
* haifa-sched.c (scheduled_insns): New static variable.
(sched_extend_ready_list): Allocate it.
(schedule_block): Use it to record the order of scheduled insns.
Perform RTL changes to move insns only after all scheduling
decisions have been made.
* modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the
begin_move_insn field.
* sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise.
* sched-int.h (struct haifa_sched_info): Remove second argument
from begin_schedule_ready hook.  Add new member begin_move_insn.
* sched-rgn.c (begin_schedule_ready): Remove second argument.
(rgn_const_sched_info): Add NULL entry for the begin_move_insn field.

From-SVN: r171843
gcc/ChangeLog
gcc/haifa-sched.c
gcc/modulo-sched.c
gcc/sched-ebb.c
gcc/sched-int.h
gcc/sched-rgn.c
gcc/sel-sched-ir.c