mirror of
https://github.com/Z3Prover/z3
synced 2025-08-15 07:15:26 +00:00
Various variable renamings to avoid conflicts with previously defined local variables, function parameters, or members (Visual Studio 2015 warnings).
This commit is contained in:
parent
ba88648468
commit
fec815b41e
11 changed files with 65 additions and 69 deletions
|
@ -464,18 +464,18 @@ void bit_blaster_tpl<Cfg>::mk_udiv_urem(unsigned sz, expr * const * a_bits, expr
|
|||
// update p
|
||||
if (i < sz - 1) {
|
||||
for (unsigned j = sz - 1; j > 0; j--) {
|
||||
expr_ref i(m());
|
||||
mk_ite(q, t.get(j-1), p.get(j-1), i);
|
||||
p.set(j, i);
|
||||
expr_ref ie(m());
|
||||
mk_ite(q, t.get(j-1), p.get(j-1), ie);
|
||||
p.set(j, ie);
|
||||
}
|
||||
p.set(0, a_bits[sz - i - 2]);
|
||||
}
|
||||
else {
|
||||
// last step: p contains the remainder
|
||||
for (unsigned j = 0; j < sz; j++) {
|
||||
expr_ref i(m());
|
||||
mk_ite(q, t.get(j), p.get(j), i);
|
||||
p.set(j, i);
|
||||
expr_ref ie(m());
|
||||
mk_ite(q, t.get(j), p.get(j), ie);
|
||||
p.set(j, ie);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue