projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
883e09d
)
Bugfix for cell hash cache option in opt_share.
author
Mingyu Gao
<mgao12@stanford.edu>
Mon, 10 Aug 2015 20:01:44 +0000
(13:01 -0700)
committer
Mingyu Gao
<mgao12@stanford.edu>
Mon, 10 Aug 2015 20:01:44 +0000
(13:01 -0700)
passes/opt/opt_share.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_share.cc
b/passes/opt/opt_share.cc
index 39bc98210629a9966d77439e5474b8e4efeb775c..46752e43b3e5fae68663460cde82e43381c88910 100644
(file)
--- 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 {