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:
parent
f09f6d5097
commit
82df1afeaf
9 changed files with 33 additions and 85 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue