3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00

ctx-simplify: simplify destructor

This commit is contained in:
Nuno Lopes 2016-02-16 09:53:04 +00:00
parent 98c5a5c86c
commit 293566d464

View file

@ -177,8 +177,7 @@ struct ctx_simplify_tactic::imp {
~imp() {
pop(scope_level());
SASSERT(scope_level() == 0);
restore_cache(0);
SASSERT(scope_level() == 0 && m_cache_undo.empty());
DEBUG_CODE({
for (unsigned i = 0; i < m_cache.size(); i++) {
CTRACE("ctx_simplify_tactic_bug", m_cache[i].m_from,