mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
99b291e78d
commit
7452e55698
10 changed files with 34 additions and 29 deletions
|
@ -1794,6 +1794,7 @@ bool ast_manager::slow_not_contains(ast const * n) {
|
|||
}
|
||||
#endif
|
||||
|
||||
|
||||
ast * ast_manager::register_node_core(ast * n) {
|
||||
unsigned h = get_node_hash(n);
|
||||
n->m_hash = h;
|
||||
|
@ -1824,7 +1825,6 @@ ast * ast_manager::register_node_core(ast * n) {
|
|||
|
||||
n->m_id = is_decl(n) ? m_decl_id_gen.mk() : m_expr_id_gen.mk();
|
||||
|
||||
|
||||
TRACE("ast", tout << "Object " << n->m_id << " was created.\n";);
|
||||
TRACE("mk_var_bug", tout << "mk_ast: " << n->m_id << "\n";);
|
||||
// increment reference counters
|
||||
|
@ -1921,8 +1921,6 @@ ast * ast_manager::register_node_core(ast * n) {
|
|||
if (n->m_id == 1525) {
|
||||
std::cout << n->m_id << ": " << mk_ll_pp(n, *this) << "\n";
|
||||
}
|
||||
//VERIFY(n->m_id != 1549);
|
||||
//VERIFY(s_count != 2);
|
||||
#endif
|
||||
return n;
|
||||
}
|
||||
|
|
|
@ -1679,7 +1679,7 @@ public:
|
|||
|
||||
void debug_ref_count() { m_debug_ref_count = true; }
|
||||
|
||||
void inc_ref(ast * n) {
|
||||
void inc_ref(ast* n) {
|
||||
if (n) {
|
||||
n->inc_ref();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue