diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-01-14 10:07:35 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-01-14 12:03:32 +0000 |
commit | e4d747935909c34b3f8d20938af7c01b7812db74 (patch) | |
tree | 9b05bfa555daee286c09b5404ed91f752a14226a /lib/Solver/MetaSMTSolver.cpp | |
parent | 87a695ed4bcae356587fc7133232772ce9ab9742 (diff) | |
download | klee-e4d747935909c34b3f8d20938af7c01b7812db74.tar.gz |
MetaSMT build fixes.
Diffstat (limited to 'lib/Solver/MetaSMTSolver.cpp')
-rw-r--r-- | lib/Solver/MetaSMTSolver.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Solver/MetaSMTSolver.cpp b/lib/Solver/MetaSMTSolver.cpp index 971ef371..c4f6a5d0 100644 --- a/lib/Solver/MetaSMTSolver.cpp +++ b/lib/Solver/MetaSMTSolver.cpp @@ -297,7 +297,7 @@ MetaSMTSolverImpl<SolverContext>::runAndGetCexForked( std::vector<std::vector<typename SolverContext::result_type> > aux_arr_exprs; - if (UseMetaSMT == METASMT_BACKEND_BOOLECTOR) { + if (MetaSMTBackend == METASMT_BACKEND_BOOLECTOR) { for (std::vector<const Array *>::const_iterator it = objects.begin(), ie = objects.end(); it != ie; ++it) { @@ -327,7 +327,7 @@ MetaSMTSolverImpl<SolverContext>::runAndGetCexForked( if (res) { - if (UseMetaSMT != METASMT_BACKEND_BOOLECTOR) { + if (MetaSMTBackend != METASMT_BACKEND_BOOLECTOR) { for (std::vector<const Array *>::const_iterator it = objects.begin(), ie = objects.end(); @@ -440,9 +440,6 @@ MetaSMTSolverImpl<SolverContext>::getOperationStatusCode() { return _runStatusCode; } -template class MetaSMTSolver<DirectSolver_Context<Boolector> >; -template class MetaSMTSolver<DirectSolver_Context<Z3_Backend> >; -template class MetaSMTSolver<DirectSolver_Context<STP_Backend> >; template <typename SolverContext> MetaSMTSolver<SolverContext>::MetaSMTSolver(bool useForked, @@ -462,5 +459,9 @@ template <typename SolverContext> void MetaSMTSolver<SolverContext>::setCoreSolverTimeout(double timeout) { impl->setCoreSolverTimeout(timeout); } + +template class MetaSMTSolver<DirectSolver_Context<metaSMT::solver::Boolector> >; +template class MetaSMTSolver<DirectSolver_Context<metaSMT::solver::Z3_Backend> >; +template class MetaSMTSolver<DirectSolver_Context<metaSMT::solver::STP_Backend> >; } #endif // ENABLE_METASMT |