mirror of https://github.com/YosysHQ/yosys.git
rtlil: Fix `Const` hashing omission
This commit is contained in:
parent
4b99db0b73
commit
f5013d035e
|
@ -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