3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-02 15:26:17 +00:00

put reinit-stack code path under ENALBE_REINIT_STACK macro

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2023-03-29 13:03:00 -07:00
parent 8cefa02b0d
commit bee3320ff6
4 changed files with 630 additions and 624 deletions

View file

@ -319,6 +319,8 @@ namespace polysat {
void report_unsat();
void backjump(unsigned new_level);
void push_reinit_stack(clause& c);
void add_clause(clause_ref clause);
void add_clause(clause& clause);
void add_clause(signed_constraint c1, bool is_redundant);
@ -352,7 +354,6 @@ namespace polysat {
ptr_vector<clause> m_clauses_to_reinit;
unsigned_vector m_reinit_heads;
unsigned m_reinit_head = 0;
void push_reinit_stack(clause& c);
void reinit_clauses(unsigned old_sz);
bool has_variables_to_reinit(clause const& c) const;