mirror of https://github.com/YosysHQ/yosys.git
hashlib: Use a better hash for pool.
This commit is contained in:
parent
934c82254d
commit
c172fef01a
|
@ -988,7 +988,7 @@ public:
|
|||
return !operator==(other);
|
||||
}
|
||||
|
||||
bool hash() const {
|
||||
unsigned int hash() const {
|
||||
unsigned int hashval = mkhash_init;
|
||||
for (auto &it : entries)
|
||||
hashval ^= ops.hash(it.udata);
|
||||
|
|
Loading…
Reference in New Issue