diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-15 18:52:33 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-15 18:52:33 +0000 |
commit | bbc7526141269a76d75795bc462385e04a7608cd (patch) | |
tree | 43b016d349dc56fc00cbba952ea6ac75f3a28898 /gcc/haifa-sched.c | |
parent | a4ad28aa3166cad0dc1c86071acd9497ab0c1667 (diff) | |
download | gcc-bbc7526141269a76d75795bc462385e04a7608cd.tar.gz |
2003-09-15 Vladimir Makarov <vmakarov@redhat.com>
* haifa-sched.c (schedule_block): Use ready_remove_first instead
of choose_ready for non-dfa insn scheduling.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71403 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index b0c824c984b..2776ec12c7f 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -2246,7 +2246,7 @@ schedule_block (int b, int rgn_n_insns) if (ready.n_ready == 0 || !can_issue_more || !(*current_sched_info->schedule_more_p) ()) break; - insn = choose_ready (&ready); + insn = ready_remove_first (&ready); cost = actual_hazard (insn_unit (insn), insn, clock_var, 0); } else |