mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-14 05:31:29 +00:00
Merge pull request #5323 from rocallahan/IdString-references
Pass `IdString` by reference in more places
This commit is contained in:
commit
3d14108a96
5 changed files with 15 additions and 9 deletions
|
@ -107,7 +107,7 @@ struct OptMergeWorker
|
|||
for (const auto& [port, sig] : cell->connections()) {
|
||||
if (cell->output(port))
|
||||
continue;
|
||||
comm.eat(hash_ops<std::pair<IdString, SigSpec>>::hash({port, assign_map(sig)}));
|
||||
comm.eat(hash_ops<std::pair<IdString, SigSpec>>::hash(port, assign_map(sig)));
|
||||
}
|
||||
h = comm.hash_into(h);
|
||||
if (RTLIL::builtin_ff_cell_types().count(cell->type))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue