2003-09-15 Vladimir Makarov <vmakarov@redhat.com>
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Sep 2003 18:52:33 +0000 (18:52 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 Sep 2003 18:52:33 +0000 (18:52 +0000)
* 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

gcc/ChangeLog
gcc/haifa-sched.c

index ff7b12f..f649792 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2003-09-15  Andreas Jaeger  <aj@suse.de>
             Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
 
index b0c824c..2776ec1 100644 (file)
@@ -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