(schedule_block): Reset n_ready if schedule_select

removes all insns from ready list.

From-SVN: r3918
This commit is contained in:
Jim Wilson 1993-03-29 14:34:25 -08:00
parent 1e39f528f7
commit 563465600f
1 changed files with 3 additions and 0 deletions

View File

@ -3441,6 +3441,9 @@ schedule_block (b, file)
{
if (file)
fprintf (file, "\n");
/* We must set n_ready here, to ensure that sorting always
occurs when we come back to the SCHED_SORT line above. */
n_ready = 0;
continue;
}
}