diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-03-16 12:44:33 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-03-16 12:44:33 -0700 |
commit | cdf17c445525c0f665473dfcf342a5a1ecac2c6b (patch) | |
tree | a986d85c18d3d85d58d5b37244ad2bc0beeba2f2 /passes/opt | |
parent | 9f30d7f843f224942dad7ce0ef90d3a99ac05036 (diff) | |
download | yosys-cdf17c445525c0f665473dfcf342a5a1ecac2c6b.tar.gz yosys-cdf17c445525c0f665473dfcf342a5a1ecac2c6b.tar.bz2 yosys-cdf17c445525c0f665473dfcf342a5a1ecac2c6b.zip |
opt_merge: unordered_map -> dict as per @cliffordwolf review
Diffstat (limited to 'passes/opt')
-rw-r--r-- | passes/opt/opt_merge.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/opt_merge.cc b/passes/opt/opt_merge.cc index 270e49a96..4aa78ff39 100644 --- a/passes/opt/opt_merge.cc +++ b/passes/opt/opt_merge.cc @@ -273,7 +273,7 @@ struct OptMergeWorker } did_something = false; - std::unordered_map<std::string, RTLIL::Cell*> sharemap; + dict<std::string, RTLIL::Cell*> sharemap; for (auto cell : cells) { if ((!mode_share_all && !ct.cell_known(cell->type)) || !cell->known()) |