rtlil: Fix `Const` hashing omission

This commit is contained in:
Martin Povišer 2024-02-06 10:22:19 +01:00
parent 4b99db0b73
commit f5013d035e
1 changed files with 1 additions and 1 deletions

View File

@ -712,7 +712,7 @@ struct RTLIL::Const
inline unsigned int hash() const {
unsigned int h = mkhash_init;
for (auto b : bits)
mkhash(h, b);
h = mkhash(h, b);
return h;
}
};