3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 02:16:40 +00:00

remove unfinished ite-macro finder, tune ast GC to ensure nodes are roots only once

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-07-14 09:46:09 -07:00
parent 4720d578a4
commit 3a83788b97
4 changed files with 3 additions and 19 deletions

View file

@ -28,7 +28,7 @@ bool macro_finder::is_macro(expr * n, app_ref & head, expr_ref & def) {
TRACE("macro_finder", tout << "processing: " << mk_pp(n, m_manager) << "\n";);
expr * body = to_quantifier(n)->get_expr();
unsigned num_decls = to_quantifier(n)->get_num_decls();
return m_util.is_ite_macro(body, num_decls, head, def);
return m_util.is_simple_macro(body, num_decls, head, def);
}
/**