sched-ebb.c (init_ready_list): Check INSN_P first.

2002-06-17  Vladimir Makarov  <vmakarov@redhat.com>

	* sched-ebb.c (init_ready_list): Check INSN_P first.

From-SVN: r54706
This commit is contained in:
Vladimir Makarov 2002-06-17 17:16:37 +00:00 committed by Vladimir Makarov
parent 8bccce2d1f
commit 97272202aa
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2002-06-17 Vladimir Makarov <vmakarov@redhat.com>
* sched-ebb.c (init_ready_list): Check INSN_P first.
Mon Jun 17 17:26:15 2002 J"orn Rennecke <joern.rennecke@superh.com>
* sh.md (divsi3): Update way how to find insns in a sequence.

View file

@ -94,7 +94,7 @@ init_ready_list (ready)
next = NEXT_INSN (insn);
if (INSN_DEP_COUNT (insn) == 0
&& (SCHED_GROUP_P (next) == 0 || ! INSN_P (next)))
&& (! INSN_P (next) || SCHED_GROUP_P (next) == 0))
ready_add (ready, insn);
if (!(SCHED_GROUP_P (insn)))
target_n_insns++;