summaryrefslogtreecommitdiff
path: root/src/smt
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-10-19 15:06:22 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-10-19 15:06:22 +0200
commitc23245dbdc936c0a9dd9d8f071405f922dbfd02d (patch)
treea86456cde5cab62aa05776aee66c86d8fb1fab2f /src/smt
parent1856daa190f0b5ca5662408d33f3f70d069b27f7 (diff)
Improve regexp rewriter, simplify regexp preprocess, add basic trans closure for string contains, refactoring.
Diffstat (limited to 'src/smt')
-rw-r--r--src/smt/smt_engine.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/smt/smt_engine.cpp b/src/smt/smt_engine.cpp
index f203c7d1e..a4f18e57b 100644
--- a/src/smt/smt_engine.cpp
+++ b/src/smt/smt_engine.cpp
@@ -3297,10 +3297,9 @@ void SmtEnginePrivate::processAssertions() {
if( d_smt.d_logic.isTheoryEnabled(THEORY_STRINGS) ) {
Trace("smt-proc") << "SmtEnginePrivate::processAssertions() : pre-strings-preprocess" << endl;
dumpAssertions("pre-strings-pp", d_assertions);
- ((theory::strings::TheoryStrings*)d_smt.d_theoryEngine->theoryOf(THEORY_STRINGS))->getPreprocess()->simplify( d_assertions.ref() );
- //for (unsigned i = 0; i < d_assertions.size(); ++ i) {
- // d_assertions.replace( i, Rewriter::rewrite( d_assertions[i] ) );
- //}
+ if( !options::stringLazyPreproc() ){
+ ((theory::strings::TheoryStrings*)d_smt.d_theoryEngine->theoryOf(THEORY_STRINGS))->getPreprocess()->simplify( d_assertions.ref() );
+ }
Trace("smt-proc") << "SmtEnginePrivate::processAssertions() : post-strings-preprocess" << endl;
dumpAssertions("post-strings-pp", d_assertions);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback