From b86eb3deef7d80fc5450379c80047636832ef458 Mon Sep 17 00:00:00 2001 From: tklam Date: Wed, 26 Sep 2018 17:57:39 +0800 Subject: [PATCH] fix bug: pass by reference --- passes/equiv/equiv_make.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/equiv/equiv_make.cc b/passes/equiv/equiv_make.cc index 8590c820b..e74dab36f 100644 --- a/passes/equiv/equiv_make.cc +++ b/passes/equiv/equiv_make.cc @@ -404,7 +404,7 @@ struct EquivMakeWorker } } - bool check_signal_in_fanout(pool visited_cells, SigBit source_bit, SigBit target_bit) + bool check_signal_in_fanout(pool & visited_cells, SigBit source_bit, SigBit target_bit) { if (source_bit == target_bit) return true;