mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 13:06:05 +00:00
fix #4174
This commit is contained in:
parent
166be6c3b9
commit
dcb75c4b31
5 changed files with 16 additions and 11 deletions
|
@ -59,6 +59,12 @@ void num_occurs::process(expr * t, expr_fast_mark1 & visited) {
|
|||
}
|
||||
}
|
||||
|
||||
void num_occurs::validate() {
|
||||
for (auto & kv : m_num_occurs) {
|
||||
SASSERT(0 < kv.m_key->get_ref_count());
|
||||
}
|
||||
}
|
||||
|
||||
void num_occurs::operator()(expr * t) {
|
||||
expr_fast_mark1 visited;
|
||||
process(t, visited);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue