fix bug: pass by reference
authortklam <tklam@easylogic.hk>
Wed, 26 Sep 2018 09:57:39 +0000 (17:57 +0800)
committertklam <tklam@easylogic.hk>
Wed, 26 Sep 2018 09:57:39 +0000 (17:57 +0800)
passes/equiv/equiv_make.cc

index 8590c820b76152aa05f7c92e5e5f4a6cbd4e2d48..e74dab36f9b8a0a387baaec1b1baf53b7579d7bf 100644 (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;