3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-22 15:15:51 +00:00

Merge branch 'YosysHQ:main' into main

This commit is contained in:
Akash Levy 2025-10-29 17:36:24 -04:00 committed by GitHub
commit f620360782
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 534 additions and 84 deletions

View file

@ -1022,7 +1022,7 @@ protected:
if (hashtable.empty()) {
entries.emplace_back(std::forward<K>(rvalue), -1);
do_rehash();
hash = do_hash(rvalue);
hash = do_hash(entries.back().udata);
} else {
entries.emplace_back(std::forward<K>(rvalue), hashtable[hash]);
hashtable[hash] = entries.size() - 1;