mirror of
https://github.com/Z3Prover/z3
synced 2025-08-12 22:20:54 +00:00
remove ast_manager get_sort method entirely
This commit is contained in:
parent
489df0760f
commit
8f577d3943
72 changed files with 209 additions and 208 deletions
|
@ -26,7 +26,7 @@ Revision History:
|
|||
|
||||
|
||||
void expr_safe_replace::insert(expr* src, expr* dst) {
|
||||
SASSERT(m.get_sort(src) == m.get_sort(dst));
|
||||
SASSERT(src->get_sort() == dst->get_sort());
|
||||
m_src.push_back(src);
|
||||
m_dst.push_back(dst);
|
||||
#if ALIVE_OPT
|
||||
|
@ -111,7 +111,7 @@ void expr_safe_replace::operator()(expr* e, expr_ref& res) {
|
|||
#if !ALIVE_OPT
|
||||
m_refs.push_back(b);
|
||||
#endif
|
||||
SASSERT(m.get_sort(a) == m.get_sort(b));
|
||||
SASSERT(a->get_sort() == b->get_sort());
|
||||
} else {
|
||||
b = a;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue