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
|
@ -47,7 +47,7 @@ struct DftTagWorker {
|
|||
bool operator<(const tag_set &other) const { return index < other.index; }
|
||||
bool operator==(const tag_set &other) const { return index == other.index; }
|
||||
|
||||
Hasher hash_eat(Hasher h) const { h.eat(index); return h; }
|
||||
Hasher hash_into(Hasher h) const { h.eat(index); return h; }
|
||||
|
||||
bool empty() const { return index == 0; }
|
||||
};
|
||||
|
|
|
@ -52,7 +52,7 @@ struct ExampleDtPass : public Pass
|
|||
return name == other.name && parameters == other.parameters;
|
||||
}
|
||||
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
Hasher hash_into(Hasher h) const {
|
||||
h.eat(name);
|
||||
h.eat(parameters);
|
||||
return h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue