mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-06 11:20:27 +00:00
hashlib: hash_eat -> hash_into
This commit is contained in:
parent
0a525f38c2
commit
b9b9515bb0
23 changed files with 95 additions and 95 deletions
|
@ -46,7 +46,7 @@ struct IdBit {
|
|||
|
||||
bool operator==(const IdBit &other) const { return name == other.name && bit == other.bit; };
|
||||
bool operator!=(const IdBit &other) const { return name != other.name || bit != other.bit; };
|
||||
Hasher hash_eat(Hasher h) const
|
||||
Hasher hash_into(Hasher h) const
|
||||
{
|
||||
h.eat(name);
|
||||
h.eat(bit);
|
||||
|
@ -64,7 +64,7 @@ struct InvBit {
|
|||
|
||||
bool operator==(const InvBit &other) const { return bit == other.bit && inverted == other.inverted; };
|
||||
bool operator!=(const InvBit &other) const { return bit != other.bit || inverted != other.inverted; };
|
||||
Hasher hash_eat(Hasher h) const
|
||||
Hasher hash_into(Hasher h) const
|
||||
{
|
||||
h.eat(bit);
|
||||
h.eat(inverted);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue