mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-17 12:45:44 +00:00
Merge branch 'YosysHQ:main' into main
This commit is contained in:
commit
d3ab45c2fa
7 changed files with 11 additions and 4 deletions
|
|
@ -2992,6 +2992,8 @@ void RTLIL::Module::add(RTLIL::Binding *binding)
|
|||
void RTLIL::Module::remove(const pool<RTLIL::Wire*> &wires)
|
||||
{
|
||||
log_assert(refcount_wires_ == 0);
|
||||
if (wires.empty())
|
||||
return;
|
||||
|
||||
struct DeleteWireWorker
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue