{
// only recurse on relevant branch
Node bval = value[cur[0]];
- Assert(!bval.isNull() && bval.isConst());
- unsigned cindex = bval.getConst<bool>() ? 1 : 2;
- visit.push_back(cur[0]);
- visit.push_back(cur[cindex]);
+ if (!bval.isNull() && bval.isConst())
+ {
+ unsigned cindex = bval.getConst<bool>() ? 1 : 2;
+ visit.push_back(cur[0]);
+ visit.push_back(cur[cindex]);
+ continue;
+ }
+ // otherwise, we handle it normally below
}
- else if (cur.getNumChildren() > 0)
+ if (cur.getNumChildren() > 0)
{
Kind ck = cur.getKind();
bool alreadyJustified = false;
regress0/issue6738.smt2
regress0/issue6741.smt2
regress0/issue8807-model-core-partial.smt2
+ regress0/issue8834-model-core-nconst.smt2
regress0/ite_arith.smt2
regress0/ite_real_int_type.smtv1.smt2
regress0/ite_real_valid.smtv1.smt2