3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-18 20:03:39 +00:00

hashlib: hash_eat -> hash_into

This commit is contained in:
Emil J. Tywoniak 2024-11-19 20:04:19 +01:00
parent 0a525f38c2
commit b9b9515bb0
23 changed files with 95 additions and 95 deletions

View file

@ -233,7 +233,7 @@ struct ClockgatePass : public Pass {
SigBit ce_bit;
bool pol_clk;
bool pol_ce;
Hasher hash_eat(Hasher h) const {
Hasher hash_into(Hasher h) const {
auto t = std::make_tuple(clk_bit, ce_bit, pol_clk, pol_ce);
h.eat(t);
return h;

View file

@ -250,7 +250,7 @@ struct FlowGraph
{
return !(*this == other);
}
Hasher hash_eat(Hasher h) const
Hasher hash_into(Hasher h) const
{
std::pair<RTLIL::SigBit, int> p = {node, is_bottom};
h.eat(p);