} else if (instructions.peek() instanceof Instruction.Abort) {
requeueStageInCirculatingState = false;
- // HACK
- while (instructionsBackedUpIntoSwitchFabric.size()!=0) {
- Instruction i = instructionsBackedUpIntoSwitchFabric.remove();
- addInstruction(i);
- instructionsBackedUpIntoSwitchFabric.clear();
- }
+ while (instructionsBackedUpIntoSwitchFabric.size()!=0)
+ addInstruction(instructionsBackedUpIntoSwitchFabric.remove());
break;
} else if (instructions.peek() instanceof Instruction.Flush) {