3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-05 09:04:07 +00:00

visit parameters during occurs count

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-06-29 08:52:25 -07:00
parent 18121e5241
commit c429455f10

View file

@ -260,7 +260,7 @@ struct model::occs_collector {
void operator()(func_decl* f) {
ts.add_occurs(f);
}
void operator()(ast* ) {}
void operator()(ast*) {}
};
@ -319,7 +319,7 @@ void model::collect_occs(top_sort& ts, func_decl* f) {
void model::collect_occs(top_sort& ts, expr* e) {
occs_collector collector(ts);
for_each_ast(collector, e);
for_each_ast(collector, e, true);
}
bool model::can_inline_def(top_sort& ts, func_decl* f) {