mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #4221 from povik/const-hash-fix
rtlil: Fix `Const` hashing omission
This commit is contained in:
commit
63d256dc83
|
@ -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;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue