summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-10-07 15:10:26 -0500
committerGitHub <noreply@github.com>2021-10-07 20:10:26 +0000
commit4d8e954c952db015e28d218b4c23f038155797ad (patch)
tree8f253163f2ce834d5029b45d961a800dfa7a8380 /test/unit
parente5e727c868e169028bb24ca4547ba7078d366161 (diff)
Move preprocessor to smt solver (#7321)
This breaks the circular dependency of preprocessing pass context of solver engine. It also moves the preprocessor to be owned by SMT solver, instead of Solver engine. It also changes the behavior of reset assertions: now, the preprocessing pass context is reset, whereas previously it was not. I believe this is the right behavior, as it eliminates stale data (e.g. learned literals, symbols in assertion cache).
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/preprocessing/pass_bv_gauss_white.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/unit/preprocessing/pass_bv_gauss_white.cpp b/test/unit/preprocessing/pass_bv_gauss_white.cpp
index aef461173..aca4239d5 100644
--- a/test/unit/preprocessing/pass_bv_gauss_white.cpp
+++ b/test/unit/preprocessing/pass_bv_gauss_white.cpp
@@ -46,7 +46,10 @@ class TestPPWhiteBVGauss : public TestSmt
TestSmt::SetUp();
d_preprocContext.reset(new preprocessing::PreprocessingPassContext(
- d_slvEngine.get(), d_slvEngine->getEnv(), nullptr));
+ d_slvEngine->getEnv(),
+ d_slvEngine->getTheoryEngine(),
+ d_slvEngine->getPropEngine(),
+ nullptr));
d_bv_gauss.reset(new BVGauss(d_preprocContext.get()));
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback