mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-15 11:45:41 +00:00
patch: don't track root cell deletions for perf
This commit is contained in:
parent
e2a77db87a
commit
a689cdc6ed
2 changed files with 8 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ YOSYS_NAMESPACE_BEGIN
|
|||
struct RTLIL::Patch : public CellAdderMixin<RTLIL::Patch>
|
||||
{
|
||||
private:
|
||||
void gc(Cell* old_cell);
|
||||
void gc(Cell* old_cell, bool track = false);
|
||||
|
||||
protected:
|
||||
void add(RTLIL::Wire *wire);
|
||||
|
|
@ -25,6 +25,7 @@ protected:
|
|||
public:
|
||||
Module* mod;
|
||||
SigMap* map;
|
||||
pool<Cell*>* removed_cells = nullptr;
|
||||
vector<std::unique_ptr<Wire>> wires_ = {};
|
||||
vector<std::unique_ptr<Cell>> cells_ = {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue