From 951c72ba52be44f9a3133c6ab3af56bdb92087ac Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 28 Dec 2014 21:26:36 +0100 Subject: [PATCH] bugfix in opt_share --- passes/opt/opt_share.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/passes/opt/opt_share.cc b/passes/opt/opt_share.cc index c581b749e..66e29b66a 100644 --- a/passes/opt/opt_share.cc +++ b/passes/opt/opt_share.cc @@ -270,6 +270,7 @@ struct OptShareWorker } } log(" Removing %s cell `%s' from module `%s'.\n", cell->type.c_str(), cell->name.c_str(), module->name.c_str()); + cell_hash_cache.erase(cell); module->remove(cell); total_count++; } else { -- 2.30.2