3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-09 04:31:25 +00:00

hashlib: acc -> eat

This commit is contained in:
Emil J. Tywoniak 2024-11-11 15:45:11 +01:00
parent 79acc141d5
commit 4e29ec1854
25 changed files with 200 additions and 200 deletions

View file

@ -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_acc(Hasher h) const { h.acc(index); return h; }
Hasher hash_eat(Hasher h) const { h.eat(index); return h; }
bool empty() const { return index == 0; }
};

View file

@ -52,9 +52,9 @@ struct ExampleDtPass : public Pass
return name == other.name && parameters == other.parameters;
}
Hasher hash_acc(Hasher h) const {
h.acc(name);
h.acc(parameters);
Hasher hash_eat(Hasher h) const {
h.eat(name);
h.eat(parameters);
return h;
}
};