3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-20 10:10:21 +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

@ -17,7 +17,6 @@ Notes:
--*/
#include "tactic/tactical.h"
#include "util/cooperate.h"
#include "tactic/arith/bound_manager.h"
#include "ast/rewriter/bool_rewriter.h"
#include "ast/rewriter/rewriter_def.h"
@ -182,7 +181,6 @@ private:
};
void checkpoint() {
cooperate("pb2bv");
if (memory::get_allocation_size() > m_max_memory)
throw tactic_exception(TACTIC_MAX_MEMORY_MSG);
}
@ -209,7 +207,6 @@ private:
}
bool max_steps_exceeded(unsigned num_steps) const {
cooperate("pb2bv");
if (memory::get_allocation_size() > owner.m_max_memory)
throw tactic_exception(TACTIC_MAX_MEMORY_MSG);
return false;