diff options
author | Mingyu Gao <mgao12@stanford.edu> | 2015-08-10 13:01:44 -0700 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-08-11 11:40:23 +0200 |
commit | 8c4c62f3e1f6d0e6128c4b88f764cc58a744aee8 (patch) | |
tree | 4389c506b922768d7055f2b778109c44fc798eb1 /passes/opt | |
parent | 45ee2ba3b853ca2dd74931c193f12eb46c0e766f (diff) | |
download | yosys-8c4c62f3e1f6d0e6128c4b88f764cc58a744aee8.tar.gz yosys-8c4c62f3e1f6d0e6128c4b88f764cc58a744aee8.tar.bz2 yosys-8c4c62f3e1f6d0e6128c4b88f764cc58a744aee8.zip |
Bugfix for cell hash cache option in opt_share.
Diffstat (limited to 'passes/opt')
-rw-r--r-- | passes/opt/opt_share.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/passes/opt/opt_share.cc b/passes/opt/opt_share.cc index 39bc98210..46752e43b 100644 --- a/passes/opt/opt_share.cc +++ b/passes/opt/opt_share.cc @@ -273,7 +273,9 @@ struct OptShareWorker } } log(" Removing %s cell `%s' from module `%s'.\n", cell->type.c_str(), cell->name.c_str(), module->name.c_str()); +#ifdef USE_CELL_HASH_CACHE cell_hash_cache.erase(cell); +#endif module->remove(cell); total_count++; } else { |