mirror of https://github.com/YosysHQ/yosys.git
patch: fix gc
This commit is contained in:
parent
698f6e05c0
commit
688d256edc
|
|
@ -94,6 +94,7 @@ void Patch::gc(Cell* old_cell) {
|
|||
}
|
||||
}
|
||||
}
|
||||
old_cell->module->remove(old_cell);
|
||||
for (auto input : inputs)
|
||||
gc(input);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue