mirror of https://github.com/YosysHQ/yosys.git
fix bug: pass by reference
This commit is contained in:
parent
2b89074240
commit
b86eb3deef
|
@ -404,7 +404,7 @@ struct EquivMakeWorker
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool check_signal_in_fanout(pool<Cell*> visited_cells, SigBit source_bit, SigBit target_bit)
|
bool check_signal_in_fanout(pool<Cell*> & visited_cells, SigBit source_bit, SigBit target_bit)
|
||||||
{
|
{
|
||||||
if (source_bit == target_bit)
|
if (source_bit == target_bit)
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue