mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
parent
c2e0491456
commit
735888145e
6 changed files with 23 additions and 20 deletions
|
@ -1986,6 +1986,7 @@ void ast_manager::delete_node(ast * n) {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
sort * ast_manager::mk_sort(family_id fid, decl_kind k, unsigned num_parameters, parameter const * parameters) {
|
||||
decl_plugin * p = get_plugin(fid);
|
||||
if (p)
|
||||
|
|
|
@ -134,7 +134,6 @@ bool rewriter_tpl<Config>::process_const(app * t0) {
|
|||
template<typename Config>
|
||||
template<bool ProofGen>
|
||||
bool rewriter_tpl<Config>::visit(expr * t, unsigned max_depth) {
|
||||
// retry:
|
||||
TRACE("rewriter_visit", tout << "visiting\n" << mk_ismt2_pp(t, m()) << "\n";);
|
||||
expr * new_t = nullptr;
|
||||
proof * new_t_pr = nullptr;
|
||||
|
|
|
@ -93,7 +93,9 @@ void shared_occs::operator()(expr * t, shared_occs_mark & visited) {
|
|||
expr * curr = fr.first;
|
||||
switch (curr->get_kind()) {
|
||||
case AST_APP: {
|
||||
|
||||
unsigned num_args = to_app(curr)->get_num_args();
|
||||
|
||||
while (fr.second < num_args) {
|
||||
expr * arg = to_app(curr)->get_arg(fr.second);
|
||||
fr.second++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue