O3: Remove assertion for case that is actually handled in code.

If an nonspeculative instruction has a fault it might not be in the
nonSpecInsts map.
This commit is contained in:
Ali Saidi 2011-05-04 20:38:27 -05:00
parent 974a776b31
commit 89e7bcca82

View file

@ -1199,7 +1199,7 @@ InstructionQueue<Impl>::doSquash(ThreadID tid)
!squashed_inst->isCompleted()) {
NonSpecMapIt ns_inst_it =
nonSpecInsts.find(squashed_inst->seqNum);
assert(ns_inst_it != nonSpecInsts.end());
if (ns_inst_it == nonSpecInsts.end()) {
assert(squashed_inst->getFault() != NoFault);
} else {