3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-29 01:18:45 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-06-19 14:10:38 -07:00
parent 07a1aea689
commit 1204671595
5 changed files with 24 additions and 2 deletions

View file

@ -1346,6 +1346,7 @@ void cmd_context::push() {
s.m_macros_stack_lim = m_macros_stack.size();
s.m_aux_pdecls_lim = m_aux_pdecls.size();
s.m_assertions_lim = m_assertions.size();
pm().push();
unsigned timeout = m_params.m_timeout;
m().limit().push(m_params.rlimit());
cancel_eh<reslimit> eh(m().limit());
@ -1474,6 +1475,7 @@ void cmd_context::pop(unsigned n) {
restore_assertions(s.m_assertions_lim);
restore_psort_inst(s.m_psort_inst_stack_lim);
m_scopes.shrink(new_lvl);
pm().pop(n);
while (n--) {
m().limit().pop();
}