3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-13 04:28:17 +00:00

cleanup more in dependent_expr_state_tactic to reduce mem consumption

This commit is contained in:
Nuno Lopes 2022-12-09 11:34:53 +00:00
parent ca6fed8b25
commit c6f9c09d70
2 changed files with 5 additions and 4 deletions

View file

@ -32,7 +32,6 @@ public:
m_fml(fml),
m_proof(p),
m_dep(d) {
SASSERT(fml);
m.inc_ref(fml);
m.inc_ref(d);
m.inc_ref(p);

View file

@ -49,7 +49,7 @@ public:
m(m),
m_params(p),
m_factory(f),
m_dep(m, m.mk_true(), nullptr, nullptr)
m_dep(m, nullptr, nullptr, nullptr)
{}
/**
@ -130,6 +130,8 @@ public:
m_simp->collect_statistics(m_st);
m_simp = nullptr;
m_model_trail = nullptr;
m_goal = nullptr;
m_dep = dependent_expr(m, nullptr, nullptr, nullptr);
}
void collect_statistics(statistics & st) const override {