Browse Source
Remove unnecessary logical-or
We know chain_ok is false because we just tested it.
pull/1158/head
Scott Johnson
3 years ago
No known key found for this signature in database
GPG Key ID: 61C1F01D3D1410C9
1 changed files with
1 additions and
1 deletions
-
riscv/triggers.cc
|
|
|
@ -341,7 +341,7 @@ std::optional<match_result_t> module_t::detect_memory_access_match(operation_t o |
|
|
|
|
|
|
|
for (auto trigger: triggers) { |
|
|
|
if (!chain_ok) { |
|
|
|
chain_ok |= !trigger->get_chain(); |
|
|
|
chain_ok = !trigger->get_chain(); |
|
|
|
continue; |
|
|
|
} |
|
|
|
|
|
|
|
|