3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 20:46:01 +00:00

remove cooperate

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-06-12 20:15:46 -07:00
parent 42ac3a5363
commit e0d8cefde4
52 changed files with 0 additions and 204 deletions

View file

@ -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;

View file

@ -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");
}
/**

View file

@ -19,7 +19,6 @@ Notes:
#include "ast/rewriter/expr_replacer.h"
#include "ast/rewriter/rewriter_def.h"
#include "ast/rewriter/th_rewriter.h"
#include "util/cooperate.h"
void expr_replacer::operator()(expr * t, expr_ref & result, proof_ref & result_pr) {
expr_dependency_ref result_dep(m());
@ -74,7 +73,6 @@ struct default_expr_replacer_cfg : public default_rewriter_cfg {
}
bool max_steps_exceeded(unsigned num_steps) const {
cooperate("simplifier");
return false;
}
};

View file

@ -16,7 +16,6 @@ Author:
Notes:
--*/
#include "util/cooperate.h"
#include "ast/rewriter/th_rewriter.h"
#include "ast/rewriter/rewriter_params.hpp"
#include "ast/rewriter/bool_rewriter.h"
@ -108,7 +107,6 @@ struct th_rewriter_cfg : public default_rewriter_cfg {
bool cache_all_results() const { return m_cache_all; }
bool max_steps_exceeded(unsigned num_steps) const {
cooperate("simplifier");
if (memory::get_allocation_size() > m_max_memory)
throw rewriter_exception(Z3_MAX_MEMORY_MSG);
return num_steps > m_max_steps;