mirror of
https://github.com/Z3Prover/z3
synced 2025-06-13 01:16:15 +00:00
thanks Nuno
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e37954d87b
commit
4359d518a9
2 changed files with 5 additions and 6 deletions
|
@ -1371,11 +1371,6 @@ void ast_manager::update_fresh_id(ast_manager const& m) {
|
||||||
m_fresh_id = std::max(m_fresh_id, m.m_fresh_id);
|
m_fresh_id = std::max(m_fresh_id, m.m_fresh_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ast_manager::inc_ref(ast * n) {
|
|
||||||
if (n) {
|
|
||||||
n->inc_ref();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void ast_manager::init() {
|
void ast_manager::init() {
|
||||||
m_int_real_coercions = true;
|
m_int_real_coercions = true;
|
||||||
|
|
|
@ -1622,7 +1622,11 @@ public:
|
||||||
|
|
||||||
void debug_ref_count() { m_debug_ref_count = true; }
|
void debug_ref_count() { m_debug_ref_count = true; }
|
||||||
|
|
||||||
void inc_ref(ast * n);
|
void inc_ref(ast * n) {
|
||||||
|
if (n) {
|
||||||
|
n->inc_ref();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void dec_ref(ast* n) {
|
void dec_ref(ast* n) {
|
||||||
if (n) {
|
if (n) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue