3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-04 02:10:23 +00:00

preparing for more efficient asymmetric branching

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-11-29 17:16:15 -08:00
parent 7e56d05dcf
commit a4dc68766d
11 changed files with 47 additions and 27 deletions

View file

@ -635,10 +635,8 @@ struct aig_manager::imp {
}
bool check_cache() const {
obj_map<expr, aig_lit>::iterator it = m_cache.begin();
obj_map<expr, aig_lit>::iterator end = m_cache.end();
for (; it != end; ++it) {
SASSERT(ref_count(it->m_value) > 0);
for (auto const& kv : m_cache) {
SASSERT(ref_count(kv.m_value) > 0);
}
return true;
}