mirror of
https://github.com/Z3Prover/z3
synced 2025-08-31 23:34:55 +00:00
Made ufbv-rewriter tactic public
This commit is contained in:
parent
4dba5270ad
commit
5f0ea74e89
2 changed files with 12 additions and 8 deletions
|
@ -75,7 +75,7 @@ class ufbv_rewriter_tactic : public tactic {
|
|||
void updt_params(params_ref const & p) {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
imp * m_imp;
|
||||
params_ref m_params;
|
||||
|
||||
|
@ -88,7 +88,7 @@ public:
|
|||
virtual tactic * translate(ast_manager & m) {
|
||||
return alloc(ufbv_rewriter_tactic, m, m_params);
|
||||
}
|
||||
|
||||
|
||||
virtual ~ufbv_rewriter_tactic() {
|
||||
dealloc(m_imp);
|
||||
}
|
||||
|
@ -103,19 +103,19 @@ public:
|
|||
insert_produce_models(r);
|
||||
insert_produce_proofs(r);
|
||||
}
|
||||
|
||||
virtual void operator()(goal_ref const & in,
|
||||
goal_ref_buffer & result,
|
||||
model_converter_ref & mc,
|
||||
|
||||
virtual void operator()(goal_ref const & in,
|
||||
goal_ref_buffer & result,
|
||||
model_converter_ref & mc,
|
||||
proof_converter_ref & pc,
|
||||
expr_dependency_ref & core) {
|
||||
(*m_imp)(in, result, mc, pc, core);
|
||||
}
|
||||
|
||||
|
||||
virtual void cleanup() {
|
||||
ast_manager & m = m_imp->m();
|
||||
imp * d = alloc(imp, m, m_params);
|
||||
std::swap(d, m_imp);
|
||||
std::swap(d, m_imp);
|
||||
dealloc(d);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue