3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 09:44:43 +00:00

build fixes, add lazy push/pop state to avoid overhead on unused theories

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-08-17 00:13:46 -07:00
parent ca3ec22b7a
commit 558233dd8e
8 changed files with 61 additions and 2 deletions

View file

@ -35,6 +35,8 @@ namespace smt {
ast_manager & m;
enode_vector m_var2enode;
unsigned_vector m_var2enode_lim;
bool m_is_lazy;
unsigned m_lazy_scopes;
friend class context;
friend class arith_value;
@ -72,6 +74,9 @@ namespace smt {
return n->get_th_var(get_id());
}
bool lazy_push();
bool lazy_pop(unsigned num_scopes);
void force_push();
public:
/**