1
0
mirror of synced 2026-01-28 13:09:09 +00:00

Merge pull request #4221 from povik/const-hash-fix

rtlil: Fix `Const` hashing omission
This commit is contained in:
N. Engelhardt
2024-02-19 16:40:46 +01:00
committed by GitHub

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;
}
};