3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-19 23:26:30 +00:00

tentative solution: use existing nullability check (we might want to check in the future which guards of the ITE are actually true)

This commit is contained in:
CEisenhofer 2026-04-14 18:07:03 +02:00
parent f09f6d5097
commit 82df1afeaf
9 changed files with 33 additions and 85 deletions

View file

@ -1613,15 +1613,13 @@ bool seq_util::rex::has_valid_info(expr* r) const {
seq_util::rex::info seq_util::rex::get_cached_info(expr* e) const {
if (has_valid_info(e))
return m_infos[e->get_id()];
else
return invalid_info;
return invalid_info;
}
/*
Get the information value associated with the regular expression e
*/
seq_util::rex::info seq_util::rex::get_info(expr* e) const
{
seq_util::rex::info seq_util::rex::get_info(expr* e) const {
SASSERT(u.is_re(e));
auto result = get_cached_info(e);
if (result.is_valid())