mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-08 15:25:08 +00:00
Implement IdString garbage collection instead of refcounting.
This commit is contained in:
parent
b3f79ed8e7
commit
bc7895505e
6 changed files with 272 additions and 90 deletions
|
|
@ -722,6 +722,8 @@ struct OptCleanPass : public Pass {
|
|||
ct_reg.clear();
|
||||
ct_all.clear();
|
||||
log_pop();
|
||||
|
||||
request_garbage_collection();
|
||||
}
|
||||
} OptCleanPass;
|
||||
|
||||
|
|
@ -784,6 +786,8 @@ struct CleanPass : public Pass {
|
|||
keep_cache.reset();
|
||||
ct_reg.clear();
|
||||
ct_all.clear();
|
||||
|
||||
request_garbage_collection();
|
||||
}
|
||||
} CleanPass;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue