From cdf17c445525c0f665473dfcf342a5a1ecac2c6b Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Mon, 16 Mar 2020 12:44:33 -0700 Subject: [PATCH] opt_merge: unordered_map -> dict as per @cliffordwolf review --- passes/opt/opt_merge.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 sharemap; + dict sharemap; for (auto cell : cells) { if ((!mode_share_all && !ct.cell_known(cell->type)) || !cell->known()) -- 2.30.2