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:
commit
f620360782
4 changed files with 534 additions and 84 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue