mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
refactor get_sort
This commit is contained in:
parent
4455f6caf8
commit
3ae4c6e9de
129 changed files with 362 additions and 362 deletions
|
@ -33,7 +33,7 @@ class smt_checker {
|
|||
m_fresh_exprs.reserve(i + 1);
|
||||
expr* r = m_fresh_exprs.get(i);
|
||||
if (!r) {
|
||||
r = m.mk_fresh_const("sk", m.get_sort(e));
|
||||
r = m.mk_fresh_const("sk", e->get_sort());
|
||||
m_fresh_exprs[i] = r;
|
||||
}
|
||||
return r;
|
||||
|
@ -175,7 +175,7 @@ public:
|
|||
params.reset();
|
||||
sorts.reset();
|
||||
for (expr* arg : args)
|
||||
sorts.push_back(m.get_sort(arg));
|
||||
sorts.push_back(arg->get_sort());
|
||||
sort_ref rng(m);
|
||||
func_decl* f = nullptr;
|
||||
switch (sexpr->get_kind()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue