3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 04:15:51 +00:00

more code review

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-08-30 11:37:08 -07:00
parent 7ea1bf12b6
commit 7cff3d4236
2 changed files with 29 additions and 10 deletions

View file

@ -57,15 +57,6 @@ namespace polysat {
vector<scoped_ptr_vector<constraint>> m_constraints;
vector<vector<clause_ref>> m_clauses;
// NB code review: Elsewhere we use flat arrays for m_constraints, m_clauses and then
// unsigned_vector m_constraints_lim;
// unsigned m_clauses_lim;
// The code for 'release_level' would require rewriting and the assumptions about how many
// scopes are released have to be revisited then. ~constraint_manager calls release_level
// to gc remaining constraints and ensure destruction. It's possible this call is not
// needed since memory management is scoped.
// Association to external dependency values (i.e., external names for constraints)
u_map<constraint*> m_external_constraints;