mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 12:11:23 +00:00
turn locks into no-ops when compiled with -DSINGLE_THREAD
This commit is contained in:
parent
9b375150eb
commit
a53ff6f21c
17 changed files with 106 additions and 79 deletions
|
@ -435,12 +435,9 @@ void asserted_formulas::commit(unsigned new_qhead) {
|
|||
TRACE("asserted_formulas", tout << "commit " << new_qhead << "\n";);
|
||||
m_macro_manager.mark_forbidden(new_qhead - m_qhead, m_formulas.c_ptr() + m_qhead);
|
||||
m_expr2depth.reset();
|
||||
bool new_sub = false;
|
||||
for (unsigned i = m_qhead; i < new_qhead; ++i) {
|
||||
justified_expr const& j = m_formulas[i];
|
||||
if (update_substitution(j.get_fml(), j.get_proof())) {
|
||||
new_sub = true;
|
||||
}
|
||||
update_substitution(j.get_fml(), j.get_proof());
|
||||
}
|
||||
m_qhead = new_qhead;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue