mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-24 13:18:56 +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
|
@ -44,7 +44,7 @@ struct TimingInfo
|
|||
return {};
|
||||
return port[offset];
|
||||
}
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
Hasher hash_into(Hasher h) const {
|
||||
h.eat(name);
|
||||
h.eat(offset);
|
||||
return h;
|
||||
|
@ -56,7 +56,7 @@ struct TimingInfo
|
|||
BitBit(const NameBit &first, const NameBit &second) : first(first), second(second) {}
|
||||
BitBit(const SigBit &first, const SigBit &second) : first(first), second(second) {}
|
||||
bool operator==(const BitBit& bb) const { return bb.first == first && bb.second == second; }
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
Hasher hash_into(Hasher h) const {
|
||||
h.eat(first);
|
||||
h.eat(second);
|
||||
return h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue