mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
revert my previous attempt to simplify the destructor of ctx-simplify
there can be assertions at level 0
This commit is contained in:
parent
cb814ec65d
commit
c05a0dfa61
|
@ -177,7 +177,8 @@ struct ctx_simplify_tactic::imp {
|
|||
|
||||
~imp() {
|
||||
pop(scope_level());
|
||||
SASSERT(scope_level() == 0 && m_cache_undo.empty());
|
||||
SASSERT(scope_level() == 0);
|
||||
restore_cache(0);
|
||||
DEBUG_CODE({
|
||||
for (unsigned i = 0; i < m_cache.size(); i++) {
|
||||
CTRACE("ctx_simplify_tactic_bug", m_cache[i].m_from,
|
||||
|
|
Loading…
Reference in a new issue