Get rid of bogus bus assertion.

It runs out that if a MemObject turns around and does a send in its
receive callback, and there are other sends already scheduled, then
it could observe a state where it's not at the head of the list but
the bus's sendEvent is not scheduled (because we're still in the
middle of processing the prior sendEvent).
This commit is contained in:
Steve Reinhardt 2008-06-13 01:33:49 -04:00
parent 024ec4c5c3
commit caccbd1edc

View file

@ -103,11 +103,6 @@ SimpleTimingPort::schedSendTiming(PacketPtr pkt, Tick when)
return; return;
} }
// list is non-empty and this is not the head, so event should
// already be scheduled
assert(waitingOnRetry ||
(sendEvent->scheduled() && sendEvent->when() <= when));
// list is non-empty & this belongs at the end // list is non-empty & this belongs at the end
if (when >= transmitList.back().tick) { if (when >= transmitList.back().tick) {
transmitList.push_back(DeferredPacket(when, pkt)); transmitList.push_back(DeferredPacket(when, pkt));