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
This commit is contained in:
parent
cc813cd5f7
commit
2f3c467883
1 changed files with 2 additions and 2 deletions
|
@ -188,8 +188,8 @@ class RubyPort : public MemObject
|
||||||
private:
|
private:
|
||||||
void addToRetryList(MemSlavePort * port)
|
void addToRetryList(MemSlavePort * port)
|
||||||
{
|
{
|
||||||
assert(std::find(retryList.begin(), retryList.end(), port) ==
|
if (std::find(retryList.begin(), retryList.end(), port) !=
|
||||||
retryList.end());
|
retryList.end()) return;
|
||||||
retryList.push_back(port);
|
retryList.push_back(port);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue