mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
140926e7c0
commit
f29b455611
7 changed files with 74 additions and 41 deletions
|
@ -158,10 +158,6 @@ public:
|
|||
}
|
||||
|
||||
void pop(unsigned k) {
|
||||
m_constraint_count.pop(k);
|
||||
for (unsigned i = m_constraints.size(); i-- > m_constraint_count; )
|
||||
m_constraints[i]->~lar_base_constraint();
|
||||
m_constraints.shrink(m_constraint_count);
|
||||
#if 1
|
||||
m_active_lim.pop(k);
|
||||
for (unsigned i = m_active.size(); i-- > m_active_lim; ) {
|
||||
|
@ -169,6 +165,11 @@ public:
|
|||
}
|
||||
m_active.shrink(m_active_lim);
|
||||
#endif
|
||||
m_constraint_count.pop(k);
|
||||
for (unsigned i = m_constraints.size(); i-- > m_constraint_count; )
|
||||
m_constraints[i]->~lar_base_constraint();
|
||||
m_constraints.shrink(m_constraint_count);
|
||||
|
||||
m_region.pop_scope(k);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue