mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
hashlib: acc -> eat
This commit is contained in:
parent
79acc141d5
commit
4e29ec1854
25 changed files with 200 additions and 200 deletions
|
@ -43,10 +43,10 @@ struct BitPatternPool
|
|||
return false;
|
||||
return bitdata == other.bitdata;
|
||||
}
|
||||
Hasher hash_acc(Hasher h) const {
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
if (!cached_hash)
|
||||
cached_hash = run_hash(bitdata);
|
||||
h.acc(cached_hash);
|
||||
h.eat(cached_hash);
|
||||
return h;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue