Skip to content

Commit

Permalink
const rewriting revisited
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Sep 5, 2021
1 parent 051ede6 commit 38b82fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ast/rewriter/rewriter_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ bool rewriter_tpl<Config>::visit(expr * t, unsigned max_depth) {
if (process_const<ProofGen>(to_app(t)))
return true;
TRACE("rewriter", tout << "process const: " << mk_bounded_pp(t, m()) << " -> " << mk_bounded_pp(m_r,m()) << "\n";);
t = m_r;
set_new_child_flag(t, m_r);
result_stack().push_back(m_r);
return true;
}
if (max_depth != RW_UNBOUNDED_DEPTH)
max_depth--;
Expand Down

0 comments on commit 38b82fa

Please sign in to comment.