summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2015-08-01 12:59:47 -0400
committerBrad Beckmann <Brad.Beckmann@amd.com>2015-08-01 12:59:47 -0400
commit03f2b8c23de9e8efa5eae28ff0f9397b7ea79486 (patch)
treec9ce68dfc4bc200354c41db33ff7df02318f0d46 /src
parent6b52f828cc886cd5d84dfb76a61140869c6add23 (diff)
downloadgem5-03f2b8c23de9e8efa5eae28ff0f9397b7ea79486.tar.xz
ruby: removed invalid assert in message comparitor
It is perfectly valid to compare the same message and the greater than operator should work correctly.
Diffstat (limited to 'src')
-rw-r--r--src/mem/ruby/slicc_interface/Message.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mem/ruby/slicc_interface/Message.hh b/src/mem/ruby/slicc_interface/Message.hh
index 5d8ed9711..587103101 100644
--- a/src/mem/ruby/slicc_interface/Message.hh
+++ b/src/mem/ruby/slicc_interface/Message.hh
@@ -121,7 +121,6 @@ operator>(const MsgPtr &lhs, const MsgPtr &rhs)
const Message *r = rhs.get();
if (l->getLastEnqueueTime() == r->getLastEnqueueTime()) {
- assert(l->getMsgCounter() != r->getMsgCounter());
return l->getMsgCounter() > r->getMsgCounter();
}
return l->getLastEnqueueTime() > r->getLastEnqueueTime();