mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-17 04:35:44 +00:00
patch: fix gc
This commit is contained in:
parent
698f6e05c0
commit
688d256edc
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ void Patch::gc(Cell* old_cell) {
|
|||
}
|
||||
}
|
||||
}
|
||||
old_cell->module->remove(old_cell);
|
||||
for (auto input : inputs)
|
||||
gc(input);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue