Ruby: Remove assert in RubyPort retry list logic
Remove the assert when adding a port to the RubyPort retry list.
Instead of asserting, just ignore the added port, since it's
already on the list.
Without this patch, Ruby+detailed fails for even the simplest tests
diff --git a/src/mem/ruby/system/RubyPort.hh b/src/mem/ruby/system/RubyPort.hh
index 2fb31ca..e68af6d 100644
--- a/src/mem/ruby/system/RubyPort.hh
+++ b/src/mem/ruby/system/RubyPort.hh
@@ -188,8 +188,8 @@
private:
void addToRetryList(MemSlavePort * port)
{
- assert(std::find(retryList.begin(), retryList.end(), port) ==
- retryList.end());
+ if (std::find(retryList.begin(), retryList.end(), port) !=
+ retryList.end()) return;
retryList.push_back(port);
}