summaryrefslogtreecommitdiff
path: root/src/mem/tport.cc
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-08-13 23:44:26 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-08-13 23:44:26 -0400
commit27ddf0b40e9b0bea1d75d825c7339c9fb9411bc9 (patch)
treec6dea0a58fec9d5efecfb5559e3e1eaa24b33878 /src/mem/tport.cc
parentb069b81acf498a538b1ce4b30ff8b2d96b2ec8de (diff)
parent9b4be6532741a511ca8f9e1d051269245814be8b (diff)
downloadgem5-27ddf0b40e9b0bea1d75d825c7339c9fb9411bc9.tar.xz
Merge IGNORE_STYLE change and my change.
--HG-- extra : convert_revision : 13880ec6df17b0317d4097243bb24add753a098a
Diffstat (limited to 'src/mem/tport.cc')
-rw-r--r--src/mem/tport.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/tport.cc b/src/mem/tport.cc
index b1a6a4813..9fa27046b 100644
--- a/src/mem/tport.cc
+++ b/src/mem/tport.cc
@@ -95,6 +95,7 @@ void
SimpleTimingPort::schedSendTiming(PacketPtr pkt, Tick when)
{
assert(when > curTick);
+ assert(when < curTick + Clock::Int::ms);
// Nothing is on the list: add it and schedule an event
if (transmitList.empty() || when < transmitList.front().tick) {