fix bug: pass by reference

This commit is contained in:
tklam 2018-09-26 17:57:39 +08:00
parent 2b89074240
commit b86eb3deef
1 changed files with 1 additions and 1 deletions

View File

@ -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)
return true;