summaryrefslogtreecommitdiff
path: root/src/preprocessing/passes/int_to_bv.cpp
diff options
context:
space:
mode:
authorGereon Kremer <nafur42@gmail.com>2021-09-09 17:21:57 -0700
committerGitHub <noreply@github.com>2021-09-09 17:21:57 -0700
commitb334cf09f05b11150f5e1e7a915346e0d753841d (patch)
tree70eed6aee89ee02c4538fd9a2fb4be665caa14e8 /src/preprocessing/passes/int_to_bv.cpp
parent44657985f2d52f58803cf64cf9da93e6419ade35 (diff)
Use EnvObj-based options in preprocessing (#7165)
This PR is the first step in replacing options access via options::foo() to using the environment (via EnvObj and options().module.foo). It replaces all such options accesses in the preprocessing passes.
Diffstat (limited to 'src/preprocessing/passes/int_to_bv.cpp')
-rw-r--r--src/preprocessing/passes/int_to_bv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preprocessing/passes/int_to_bv.cpp b/src/preprocessing/passes/int_to_bv.cpp
index 46c75b560..e6b5a4bca 100644
--- a/src/preprocessing/passes/int_to_bv.cpp
+++ b/src/preprocessing/passes/int_to_bv.cpp
@@ -105,9 +105,9 @@ Node intToBVMakeBinary(TNode n, NodeMap& cache)
Node IntToBV::intToBV(TNode n, NodeMap& cache)
{
- int size = options::solveIntAsBV();
+ int size = options().smt.solveIntAsBV;
AlwaysAssert(size > 0);
- AlwaysAssert(!options::incrementalSolving());
+ AlwaysAssert(!options().base.incrementalSolving);
NodeManager* nm = NodeManager::currentNM();
SkolemManager* sm = nm->getSkolemManager();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback