mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
updated seq solver
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
cddf8091b5
commit
f03032bd09
2 changed files with 31 additions and 21 deletions
|
@ -1576,18 +1576,12 @@ bool ast_manager::are_equal(expr * a, expr * b) const {
|
|||
}
|
||||
|
||||
void ast_manager::inc_ref(ast * n) {
|
||||
|
||||
if (n && n->get_id() == 362568) {
|
||||
std::cout << "inc-ref " << n->get_ref_count() << "\n";
|
||||
}
|
||||
if (n)
|
||||
if (n) {
|
||||
n->inc_ref();
|
||||
}
|
||||
}
|
||||
|
||||
void ast_manager::dec_ref(ast* n) {
|
||||
if (n && n->get_id() == 362568) {
|
||||
std::cout << "dec-ref " << n->get_ref_count() << "\n";
|
||||
}
|
||||
if (n) {
|
||||
n->dec_ref();
|
||||
if (n->get_ref_count() == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue