3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-27 11:44:25 -07:00
parent 1c2aa1076b
commit 4938ea7be6
4 changed files with 15 additions and 31 deletions

View file

@ -1981,7 +1981,7 @@ void ast_manager::delete_node(ast * n) {
}
if (m_debug_ref_count) {
m_debug_free_indices.insert(n->m_id,0);
}
}
deallocate_node(n, ::get_node_size(n));
}
}

View file

@ -489,7 +489,7 @@ protected:
void dec_ref() {
SASSERT(m_ref_count > 0);
m_ref_count --;
--m_ref_count;
}
ast(ast_kind k):m_id(UINT_MAX), m_kind(k), m_mark1(false), m_mark2(false), m_mark_shared_occs(false), m_ref_count(0) {