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

patch: fix gc

This commit is contained in:
Emil J. Tywoniak 2026-05-26 12:22:38 +02:00
parent 698f6e05c0
commit 688d256edc

View file

@ -94,6 +94,7 @@ void Patch::gc(Cell* old_cell) {
}
}
}
old_cell->module->remove(old_cell);
for (auto input : inputs)
gc(input);
}