3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-17 12:45:44 +00:00

Undo the terrible upstream changes that break everything...

This commit is contained in:
Akash Levy 2026-02-04 22:26:06 -08:00
parent 09fd53aaae
commit f74ac17a5f
7 changed files with 4 additions and 11 deletions

View file

@ -2992,8 +2992,6 @@ 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
{