mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Testing with smtlib2 interface always there
This commit is contained in:
parent
dee0c4ded8
commit
6251a289dd
@ -23,9 +23,7 @@
|
||||
#ifdef HAVE_CVC4
|
||||
#include <libsolidity/formal/CVC4Interface.h>
|
||||
#endif
|
||||
#if !defined (HAVE_Z3) && !defined (HAVE_CVC4)
|
||||
#include <libsolidity/formal/SMTLib2Interface.h>
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
using namespace dev;
|
||||
@ -34,16 +32,13 @@ using namespace dev::solidity::smt;
|
||||
|
||||
SMTPortfolio::SMTPortfolio(map<h256, string> const& _smtlib2Responses)
|
||||
{
|
||||
m_solvers.emplace_back(make_shared<smt::SMTLib2Interface>(_smtlib2Responses));
|
||||
#ifdef HAVE_Z3
|
||||
m_solvers.emplace_back(make_shared<smt::Z3Interface>());
|
||||
#endif
|
||||
#ifdef HAVE_CVC4
|
||||
m_solvers.emplace_back(make_shared<smt::CVC4Interface>());
|
||||
#endif
|
||||
#if !defined (HAVE_Z3) && !defined (HAVE_CVC4)
|
||||
m_solvers.emplace_back(make_shared<smt::SMTLib2Interface>(_smtlib2Responses));
|
||||
#endif
|
||||
(void)_smtlib2Responses;
|
||||
}
|
||||
|
||||
void SMTPortfolio::reset()
|
||||
|
Loading…
Reference in New Issue
Block a user