diff options
author | Mingyu Gao <mgao12@stanford.edu> | 2015-08-10 13:01:44 -0700 |
---|---|---|
committer | Mingyu Gao <mgao12@stanford.edu> | 2015-08-10 13:01:44 -0700 |
commit | 021b4a24364607de81e5b2dfdd4764d367c5bfb5 (patch) | |
tree | 118970468340eda857e3d47fd4308ca43f424c83 /passes | |
parent | 883e09d8edcdd5152294cde530faf4c9e4ff19e0 (diff) | |
download | yosys-021b4a24364607de81e5b2dfdd4764d367c5bfb5.tar.gz yosys-021b4a24364607de81e5b2dfdd4764d367c5bfb5.tar.bz2 yosys-021b4a24364607de81e5b2dfdd4764d367c5bfb5.zip |
Bugfix for cell hash cache option in opt_share.
Diffstat (limited to 'passes')
-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 { |