mirror of
https://github.com/Z3Prover/z3
synced 2025-06-25 15:23:41 +00:00
parent
7afcaa5364
commit
2d7a38e95e
1 changed files with 4 additions and 4 deletions
|
@ -65,7 +65,6 @@ void elim_unconstrained::eliminate() {
|
||||||
expr_ref r(m), side_cond(m);
|
expr_ref r(m), side_cond(m);
|
||||||
int v = m_heap.erase_min();
|
int v = m_heap.erase_min();
|
||||||
node& n = get_node(v);
|
node& n = get_node(v);
|
||||||
IF_VERBOSE(11, verbose_stream() << mk_bounded_pp(n.m_orig, m) << " @ " << n.m_refcount << "\n");
|
|
||||||
if (n.m_refcount == 0)
|
if (n.m_refcount == 0)
|
||||||
continue;
|
continue;
|
||||||
if (n.m_refcount > 1)
|
if (n.m_refcount > 1)
|
||||||
|
@ -203,10 +202,11 @@ void elim_unconstrained::freeze(expr* t) {
|
||||||
return;
|
return;
|
||||||
node& n = get_node(t);
|
node& n = get_node(t);
|
||||||
if (!n.m_term)
|
if (!n.m_term)
|
||||||
return;
|
return;
|
||||||
n.m_refcount = UINT_MAX / 2;
|
if (m_heap.contains(root(t))) {
|
||||||
if (m_heap.contains(root(t)))
|
n.m_refcount = UINT_MAX / 2;
|
||||||
m_heap.increased(root(t));
|
m_heap.increased(root(t));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void elim_unconstrained::gc(expr* t) {
|
void elim_unconstrained::gc(expr* t) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue