mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
fix undo record for lblset
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a8ccbd7103
commit
decbf4be11
3 changed files with 14 additions and 3 deletions
|
@ -302,7 +302,7 @@ namespace euf {
|
|||
enode* r = n->get_root();
|
||||
approx_set & r_lbls = r->m_lbls;
|
||||
if (!r_lbls.may_contain(n->m_lbl_hash)) {
|
||||
m_updates.push_back(update_record(r, update_record::lbl_hash()));
|
||||
m_updates.push_back(update_record(r, update_record::lbl_set()));
|
||||
r_lbls.insert(n->m_lbl_hash);
|
||||
}
|
||||
}
|
||||
|
@ -373,6 +373,9 @@ namespace euf {
|
|||
case update_record::tag_t::is_lbl_hash:
|
||||
p.r1->m_lbl_hash = p.m_lbl_hash;
|
||||
break;
|
||||
case update_record::tag_t::is_lbl_set:
|
||||
p.r1->m_lbls.set(p.m_lbls);
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue