mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 10:50:25 +00:00
More hashtable finetuning
This commit is contained in:
parent
88d08e8f24
commit
66ab88d7b0
9 changed files with 40 additions and 18 deletions
|
@ -1132,7 +1132,7 @@ namespace {
|
|||
struct DeleteWireWorker
|
||||
{
|
||||
RTLIL::Module *module;
|
||||
const pool<RTLIL::Wire*, hash_ptr_ops> *wires_p;
|
||||
const pool<RTLIL::Wire*, hash_obj_ops> *wires_p;
|
||||
|
||||
void operator()(RTLIL::SigSpec &sig) {
|
||||
std::vector<RTLIL::SigChunk> chunks = sig;
|
||||
|
@ -1146,7 +1146,7 @@ namespace {
|
|||
};
|
||||
}
|
||||
|
||||
void RTLIL::Module::remove(const pool<RTLIL::Wire*, hash_ptr_ops> &wires)
|
||||
void RTLIL::Module::remove(const pool<RTLIL::Wire*, hash_obj_ops> &wires)
|
||||
{
|
||||
log_assert(refcount_wires_ == 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue