3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-06 02:15:16 +00:00

Reorder null check before side effect in linearise_multi_pattern (#9427)

* Initial plan

* Move null check before side effect in linearise_multi_pattern

Agent-Logs-Url: https://github.com/Z3Prover/z3/sessions/cc69d451-b5a7-414d-9154-2cda3286fe40

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
Copilot 2026-04-29 17:18:45 -07:00 committed by GitHub
parent 7c4c709708
commit b9be33bb06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1114,9 +1114,9 @@ namespace {
best_j = j;
}
}
m_mp_already_processed[best_j] = true;
if (best == nullptr)
continue;
m_mp_already_processed[best_j] = true;
app * p = best;
func_decl * lbl = p->get_decl();
unsigned short num_args = p->get_num_args();