Bugfix for cell hash cache option in opt_share.

This commit is contained in:
Mingyu Gao 2015-08-10 13:01:44 -07:00 committed by Clifford Wolf
parent 45ee2ba3b8
commit 8c4c62f3e1
1 changed files with 2 additions and 0 deletions

View File

@ -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 {