aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-05-12 17:10:39 +0800
committerGav Wood <g@ethdev.com>2015-05-12 17:10:39 +0800
commitae14cb9647bc7c42c862ba7a5257dc9d9c74bcbd (patch)
tree42349a63fea8cd2298d0e71b037375342c5d3a8b /TestHelper.cpp
parentcf23eea716f16ab05e10c8bb63978083a2cbe5a6 (diff)
parentb9a722223ad7eee9195230a97481da0d17cfad79 (diff)
downloaddexon-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.cpp7
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")