aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-05 19:13:39 +0800
committerGitHub <noreply@github.com>2018-03-05 19:13:39 +0800
commitcd6ffbdf790e4d3e4da2e7f3fba5524a2b8c3e1d (patch)
tree2ac2cf095d6af5512f75d96228655f0e3e9c1ed2
parent6dc137317fa8249a9c1b19ff6430840974393f90 (diff)
parent5d74b862a390ccf4f2471fb8b9941314b4727c11 (diff)
downloaddexon-solidity-cd6ffbdf790e4d3e4da2e7f3fba5524a2b8c3e1d.tar
dexon-solidity-cd6ffbdf790e4d3e4da2e7f3fba5524a2b8c3e1d.tar.gz
dexon-solidity-cd6ffbdf790e4d3e4da2e7f3fba5524a2b8c3e1d.tar.bz2
dexon-solidity-cd6ffbdf790e4d3e4da2e7f3fba5524a2b8c3e1d.tar.lz
dexon-solidity-cd6ffbdf790e4d3e4da2e7f3fba5524a2b8c3e1d.tar.xz
dexon-solidity-cd6ffbdf790e4d3e4da2e7f3fba5524a2b8c3e1d.tar.zst
dexon-solidity-cd6ffbdf790e4d3e4da2e7f3fba5524a2b8c3e1d.zip
Merge pull request #3642 from leonardoalt/fix_z3-46
Add z3 performance option
-rw-r--r--libsolidity/formal/Z3Interface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsolidity/formal/Z3Interface.cpp b/libsolidity/formal/Z3Interface.cpp
index 769e6edb..125da00d 100644
--- a/libsolidity/formal/Z3Interface.cpp
+++ b/libsolidity/formal/Z3Interface.cpp
@@ -28,6 +28,7 @@ using namespace dev::solidity::smt;
Z3Interface::Z3Interface():
m_solver(m_context)
{
+ z3::set_param("rewriter.pull_cheap_ite", true);
}
void Z3Interface::reset()