3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-12 10:14:42 +00:00

theory_str refcount debug messages and beginning theory case split

This commit is contained in:
Murphy Berzish 2016-12-16 14:37:34 -05:00
parent 67e7307777
commit dd8cd8199b
6 changed files with 28 additions and 3 deletions

View file

@ -2377,6 +2377,9 @@ namespace smt {
*/
unsigned context::pop_scope_core(unsigned num_scopes) {
TRACE("t_str_refcount_hack", tout << "begin pop_scope_core in smt_context" << std::endl;);
if (m_manager.has_trace_stream())
m_manager.trace_stream() << "[pop] " << num_scopes << " " << m_scope_lvl << "\n";
@ -2423,8 +2426,11 @@ namespace smt {
ptr_vector<theory>::iterator it = m_theory_set.begin();
ptr_vector<theory>::iterator end = m_theory_set.end();
for (; it != end; ++it)
for (; it != end; ++it) {
TRACE("t_str_refcount_hack", tout << "begin theory pop_scope_eh" << std::endl;);
(*it)->pop_scope_eh(num_scopes);
TRACE("t_str_refcount_hack", tout << "end theory pop_scope_eh" << std::endl;);
}
del_justifications(m_justifications, s.m_justifications_lim);
@ -2450,6 +2456,9 @@ namespace smt {
reassert_units(units_to_reassert_lim);
TRACE("pop_scope_detail", tout << "end of pop_scope: \n"; display(tout););
CASSERT("context", check_invariant());
TRACE("t_str_refcount_hack", tout << "end pop_scope_core in smt_context" << std::endl;);
return num_bool_vars;
}