mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
mam compiler: move reset of matched_exprs cache next to code reset
This commit is contained in:
parent
2babd192b8
commit
4b4365470d
1 changed files with 1 additions and 1 deletions
|
@ -841,7 +841,6 @@ namespace smt {
|
|||
m_mp = mp;
|
||||
m_num_choices = 0;
|
||||
m_todo.reset();
|
||||
m_matched_exprs.reset();
|
||||
m_registers.fill(0);
|
||||
|
||||
app * p = to_app(mp->get_arg(first_idx));
|
||||
|
@ -1226,6 +1225,7 @@ namespace smt {
|
|||
*/
|
||||
void linearise(instruction * head, unsigned first_idx) {
|
||||
m_seq.reset();
|
||||
m_matched_exprs.reset();
|
||||
while (!m_todo.empty())
|
||||
linearise_core();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue