mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 22:23:23 +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
|
@ -29,7 +29,7 @@ struct SigPool
|
|||
struct bitDef_t : public std::pair<RTLIL::Wire*, int> {
|
||||
bitDef_t() : std::pair<RTLIL::Wire*, int>(NULL, 0) { }
|
||||
bitDef_t(const RTLIL::SigBit &bit) : std::pair<RTLIL::Wire*, int>(bit.wire, bit.offset) { }
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
Hasher hash_into(Hasher h) const {
|
||||
h.eat(first->name);
|
||||
h.eat(second);
|
||||
return h;
|
||||
|
@ -147,7 +147,7 @@ struct SigSet
|
|||
struct bitDef_t : public std::pair<RTLIL::Wire*, int> {
|
||||
bitDef_t() : std::pair<RTLIL::Wire*, int>(NULL, 0) { }
|
||||
bitDef_t(const RTLIL::SigBit &bit) : std::pair<RTLIL::Wire*, int>(bit.wire, bit.offset) { }
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
Hasher hash_into(Hasher h) const {
|
||||
h.eat(first->name);
|
||||
h.eat(second);
|
||||
return h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue