aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaweł Bylica <chfast@gmail.com>2015-07-03 20:04:04 +0800
committerPaweł Bylica <chfast@gmail.com>2015-07-03 20:04:04 +0800
commit953e392ad272042acd9f713434ad3f6a43cf4b60 (patch)
tree0392f3ff56ae84b01f2bf4a61b6497ac12d0423c
parent7ce128e322b54fff5bcc0d9c954626f986b4ff27 (diff)
downloaddexon-solidity-953e392ad272042acd9f713434ad3f6a43cf4b60.tar.gz
dexon-solidity-953e392ad272042acd9f713434ad3f6a43cf4b60.tar.zst
dexon-solidity-953e392ad272042acd9f713434ad3f6a43cf4b60.zip
--vm command line option replacing --jit.
-rw-r--r--TestHelper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index 698f3512..01bb5f30 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -235,7 +235,7 @@ void ImportTest::importState(json_spirit::mObject& _o, State& _state)
}
void ImportTest::importTransaction(json_spirit::mObject& _o)
-{
+{
if (_o.count("secretKey") > 0)
{
assert(_o.count("nonce") > 0);
@@ -728,7 +728,7 @@ Options::Options()
for (auto i = 0; i < argc; ++i)
{
auto arg = std::string{argv[i]};
- if (arg == "--jit")
+ if (arg == "--jit" || arg == "--vm=jit") // TODO: Remove deprecated option "--jit"
eth::VMFactory::setKind(eth::VMKind::JIT);
else if (arg == "--vm=smart")
eth::VMFactory::setKind(eth::VMKind::Smart);