unsigned Slot = NotFound;
// Compare against those previously scheduled operands
- for (unsigned j = i + 1; j < N; j++) {
+ unsigned j = i + 1;
+ for (; j < N; j++) {
// Get following instruction
ScheduleInfo *Other = Ordering[j];
SI->Slot = Slot;
// Insert sort based on slot
- unsigned j = i + 1;
+ j = i + 1;
for (; j < N; j++) {
// Get following instruction
ScheduleInfo *Other = Ordering[j];
unsigned Slot = NotFound;
// Compare against those previously scheduled operands
- for (unsigned j = i; 0 < j--;) {
+ unsigned j = i;
+ for (; 0 < j--;) {
// Get following instruction
ScheduleInfo *Other = Ordering[j];
SI->Slot = Slot;
// Insert sort based on slot
- unsigned j = i;
+ j = i;
for (; 0 < j--;) {
// Get following instruction
ScheduleInfo *Other = Ordering[j];