mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
release nodes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bbe027f6a1
commit
a003af494b
15 changed files with 319 additions and 135 deletions
|
@ -130,6 +130,11 @@ namespace euf {
|
|||
return n;
|
||||
}
|
||||
|
||||
void egraph::~egraph() {
|
||||
for (enode* n : m_nodes)
|
||||
n->~enode();
|
||||
}
|
||||
|
||||
void egraph::pop(unsigned num_scopes) {
|
||||
if (num_scopes <= m_num_scopes) {
|
||||
m_num_scopes -= num_scopes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue