From 03f2b8c23de9e8efa5eae28ff0f9397b7ea79486 Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Sat, 1 Aug 2015 12:59:47 -0400 Subject: [PATCH] ruby: removed invalid assert in message comparitor It is perfectly valid to compare the same message and the greater than operator should work correctly. --- src/mem/ruby/slicc_interface/Message.hh | 1 - 1 file changed, 1 deletion(-) 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(); -- 2.30.2