mirror of
https://github.com/Z3Prover/z3
synced 2025-08-18 09:12:16 +00:00
remove cooperate
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
42ac3a5363
commit
e0d8cefde4
52 changed files with 0 additions and 204 deletions
|
@ -142,7 +142,6 @@ struct blaster_rewriter_cfg : public default_rewriter_cfg {
|
|||
bool rewrite_patterns() const { return true; }
|
||||
|
||||
bool max_steps_exceeded(unsigned num_steps) const {
|
||||
cooperate("bit blaster");
|
||||
if (memory::get_allocation_size() > m_max_memory)
|
||||
throw rewriter_exception(Z3_MAX_MEMORY_MSG);
|
||||
return num_steps > m_max_steps;
|
||||
|
|
|
@ -19,7 +19,6 @@ Revision History:
|
|||
#include "ast/rewriter/bit_blaster/bit_blaster_tpl.h"
|
||||
#include "util/rational.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include "util/cooperate.h"
|
||||
#include "util/common_msgs.h"
|
||||
#include "ast/rewriter/rewriter_types.h"
|
||||
|
||||
|
@ -30,7 +29,6 @@ void bit_blaster_tpl<Cfg>::checkpoint() {
|
|||
throw rewriter_exception(Z3_MAX_MEMORY_MSG);
|
||||
if (m().canceled())
|
||||
throw rewriter_exception(m().limit().get_cancel_msg());
|
||||
cooperate("bit-blaster");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue