opt_merge: unordered_map -> dict as per @cliffordwolf review
authorEddie Hung <eddie@fpgeh.com>
Mon, 16 Mar 2020 19:44:33 +0000 (12:44 -0700)
committerEddie Hung <eddie@fpgeh.com>
Mon, 16 Mar 2020 19:44:33 +0000 (12:44 -0700)
passes/opt/opt_merge.cc

index 270e49a96ed1e803747e0b254235775ef9a9c496..4aa78ff39da0a91af78050a7ed75058749a01000 100644 (file)
@@ -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())