mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
remove tactic exception dependency
This commit is contained in:
parent
e95b0bd2cd
commit
f0570fbc0e
|
@ -62,7 +62,7 @@ class max_bv_sharing : public dependent_expr_simplifier {
|
||||||
|
|
||||||
bool max_steps_exceeded(unsigned num_steps) const {
|
bool max_steps_exceeded(unsigned num_steps) const {
|
||||||
if (memory::get_allocation_size() > m_max_memory)
|
if (memory::get_allocation_size() > m_max_memory)
|
||||||
throw tactic_exception(TACTIC_MAX_MEMORY_MSG);
|
throw rewriter_exception(Z3_MAX_MEMORY_MSG);
|
||||||
return num_steps > m_max_steps;
|
return num_steps > m_max_steps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue