diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-04-30 15:19:04 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-04-30 15:19:10 +0200 |
commit | 9268cd16135db87920ee49a54a16dab62fc1f4a8 (patch) | |
tree | 318cc988782f61ce05d132c5db8332d0fb64797d /kernel | |
parent | 314ff1e4ca00ef8024bbb0d2f031efd78b01f9a1 (diff) | |
download | yosys-9268cd16135db87920ee49a54a16dab62fc1f4a8.tar.gz yosys-9268cd16135db87920ee49a54a16dab62fc1f4a8.tar.bz2 yosys-9268cd16135db87920ee49a54a16dab62fc1f4a8.zip |
Fix performance bug in RTLIL::SigSpec::operator==(), fixes #970
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rtlil.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 7e1159cac..dd6817873 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -3456,7 +3456,7 @@ bool RTLIL::SigSpec::operator ==(const RTLIL::SigSpec &other) const pack(); other.pack(); - if (chunks_.size() != chunks_.size()) + if (chunks_.size() != other.chunks_.size()) return false; updhash(); |