mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-13 04:28:18 +00:00
opt_merge: unordered_map -> dict as per @cliffordwolf review
This commit is contained in:
parent
9f30d7f843
commit
cdf17c4455
|
@ -273,7 +273,7 @@ struct OptMergeWorker
|
||||||
}
|
}
|
||||||
|
|
||||||
did_something = false;
|
did_something = false;
|
||||||
std::unordered_map<std::string, RTLIL::Cell*> sharemap;
|
dict<std::string, RTLIL::Cell*> sharemap;
|
||||||
for (auto cell : cells)
|
for (auto cell : cells)
|
||||||
{
|
{
|
||||||
if ((!mode_share_all && !ct.cell_known(cell->type)) || !cell->known())
|
if ((!mode_share_all && !ct.cell_known(cell->type)) || !cell->known())
|
||||||
|
|
Loading…
Reference in a new issue