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:
parent
ca3ec22b7a
commit
558233dd8e
8 changed files with 61 additions and 2 deletions
|
@ -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:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue