3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

Check more frequently for cancelation flags to address grep0095.stp.smt2 in issue #178. Z3 spends time in pre-processing simplification, which indicates there is some opportunity to tune this portion of the code

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2015-08-11 23:14:34 +02:00
parent 424f34d3d9
commit 702af71a2d
2 changed files with 5 additions and 0 deletions

View file

@ -229,6 +229,9 @@ public:
m_ctx->assert_expr(in->form(i));
}
}
if (m_ctx->canceled()) {
throw tactic_exception("smt_tactic canceled");
}
lbool r;
if (assumptions.empty())