diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2015-08-01 12:59:47 -0400 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2015-08-01 12:59:47 -0400 |
commit | 03f2b8c23de9e8efa5eae28ff0f9397b7ea79486 (patch) | |
tree | c9ce68dfc4bc200354c41db33ff7df02318f0d46 /src | |
parent | 6b52f828cc886cd5d84dfb76a61140869c6add23 (diff) | |
download | gem5-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.hh | 1 |
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(); |