mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
remove dead code
This commit is contained in:
parent
c2e9016d04
commit
41b40c3a51
|
@ -175,12 +175,6 @@ namespace macro_manager_ns {
|
||||||
/**
|
/**
|
||||||
\brief Mark all func_decls used in exprs as forbidden.
|
\brief Mark all func_decls used in exprs as forbidden.
|
||||||
*/
|
*/
|
||||||
void macro_manager::mark_forbidden(unsigned n, expr * const * exprs) {
|
|
||||||
expr_mark visited;
|
|
||||||
macro_manager_ns::proc p(m_forbidden_set, m_forbidden);
|
|
||||||
for (unsigned i = 0; i < n; i++)
|
|
||||||
for_each_expr(p, visited, exprs[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
void macro_manager::mark_forbidden(unsigned n, justified_expr const * exprs) {
|
void macro_manager::mark_forbidden(unsigned n, justified_expr const * exprs) {
|
||||||
expr_mark visited;
|
expr_mark visited;
|
||||||
|
|
|
@ -73,9 +73,7 @@ public:
|
||||||
void push_scope();
|
void push_scope();
|
||||||
void pop_scope(unsigned num_scopes);
|
void pop_scope(unsigned num_scopes);
|
||||||
void reset();
|
void reset();
|
||||||
void mark_forbidden(unsigned n, expr * const * exprs);
|
|
||||||
void mark_forbidden(unsigned n, justified_expr const * exprs);
|
void mark_forbidden(unsigned n, justified_expr const * exprs);
|
||||||
void mark_forbidden(expr * e) { mark_forbidden(1, &e); }
|
|
||||||
bool is_forbidden(func_decl * d) const { return m_forbidden_set.contains(d); }
|
bool is_forbidden(func_decl * d) const { return m_forbidden_set.contains(d); }
|
||||||
obj_hashtable<func_decl> const & get_forbidden_set() const { return m_forbidden_set; }
|
obj_hashtable<func_decl> const & get_forbidden_set() const { return m_forbidden_set; }
|
||||||
void display(std::ostream & out);
|
void display(std::ostream & out);
|
||||||
|
|
Loading…
Reference in a new issue