diff options
author | Gav Wood <g@ethdev.com> | 2015-05-12 17:10:39 +0800 |
---|---|---|
committer | Gav Wood <g@ethdev.com> | 2015-05-12 17:10:39 +0800 |
commit | ae14cb9647bc7c42c862ba7a5257dc9d9c74bcbd (patch) | |
tree | 42349a63fea8cd2298d0e71b037375342c5d3a8b /TestHelper.cpp | |
parent | cf23eea716f16ab05e10c8bb63978083a2cbe5a6 (diff) | |
parent | b9a722223ad7eee9195230a97481da0d17cfad79 (diff) | |
download | dexon-solidity-ae14cb9647bc7c42c862ba7a5257dc9d9c74bcbd.tar.gz dexon-solidity-ae14cb9647bc7c42c862ba7a5257dc9d9c74bcbd.tar.zst dexon-solidity-ae14cb9647bc7c42c862ba7a5257dc9d9c74bcbd.zip |
Merge pull request #1808 from imapp-pl/pr/evmjit
Smart VM
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r-- | TestHelper.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index 96e11e02..dede4703 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -288,7 +288,7 @@ void ImportTest::checkExpectedState(State const& _stateExpect, State const& _sta { addressOptions = _expectedStateOptions.at(a.first); } - catch(std::out_of_range) + catch(std::out_of_range const&) { BOOST_ERROR("expectedStateOptions map does not match expectedState in checkExpectedState!"); break; @@ -707,10 +707,9 @@ Options::Options() { auto arg = std::string{argv[i]}; if (arg == "--jit") - { - jit = true; eth::VMFactory::setKind(eth::VMKind::JIT); - } + else if (arg == "--vm=smart") + eth::VMFactory::setKind(eth::VMKind::Smart); else if (arg == "--vmtrace") vmtrace = true; else if (arg == "--filltests") |