Skip to content

Commit

Permalink
have replayer handle oom natively
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Nov 19, 2018
1 parent 04d709d commit 7d0d7e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/api/api_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ extern "C" {
void Z3_API Z3_set_error_handler(Z3_context c, Z3_error_handler h) {
RESET_ERROR_CODE();
mk_c(c)->set_error_handler(h);
// [Leo]: using exception handling, we don't need global error handlers anymore
}

void Z3_API Z3_set_error(Z3_context c, Z3_error_code e) {
Expand Down
1 change: 1 addition & 0 deletions src/api/z3_replayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ struct z3_replayer::imp {
#define TICK_FREQUENCY 100000

void parse() {
memory::exit_when_out_of_memory(false, nullptr);
uint64_t counter = 0;
unsigned tick = 0;
while (true) {
Expand Down

0 comments on commit 7d0d7e6

Please sign in to comment.