mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
insert fresh
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fb124d6e93
commit
4b6a7371dd
2 changed files with 24 additions and 1 deletions
|
@ -1794,7 +1794,8 @@ ast * ast_manager::register_node_core(ast * n) {
|
|||
CASSERT("nondet_bug", contains || slow_not_contains(n));
|
||||
#endif
|
||||
|
||||
ast * r = m_ast_table.insert_if_not_there(n);
|
||||
ast* r = m_ast_table.insert_if_not_there(n);
|
||||
|
||||
SASSERT(r->m_hash == h);
|
||||
if (r != n) {
|
||||
SASSERT(contains);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue