aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-04-10 23:17:19 +0800
committerGav Wood <g@ethdev.com>2015-04-10 23:17:19 +0800
commitc111dbff3f4d4d5e6d064b38bcd645f2d763ccab (patch)
tree079675af13f49bb1bc95fa1e0157576126a736d7
parent35affd39f19f8d6a587ab8a25a22399af0abf4be (diff)
parent530b19f6c6c0dad2ea8661fdd29e4d1d2e6781a2 (diff)
downloaddexon-solidity-c111dbff3f4d4d5e6d064b38bcd645f2d763ccab.tar.gz
dexon-solidity-c111dbff3f4d4d5e6d064b38bcd645f2d763ccab.tar.zst
dexon-solidity-c111dbff3f4d4d5e6d064b38bcd645f2d763ccab.zip
Merge pull request #1577 from imapp-pl/pr/scheduler_change
EVMJIT: Change instruction scheduler
-rw-r--r--state.cpp2
-rw-r--r--vm.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/state.cpp b/state.cpp
index 813c3b4d..65f33353 100644
--- a/state.cpp
+++ b/state.cpp
@@ -218,6 +218,8 @@ BOOST_AUTO_TEST_CASE(stCreateTest)
BOOST_AUTO_TEST_CASE(stRandom)
{
+ test::Options::get(); // parse command line options, e.g. to enable JIT
+
string testPath = dev::test::getTestPath();
testPath += "/StateTests/RandomTests";
diff --git a/vm.cpp b/vm.cpp
index d9298913..4728b8a5 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -524,6 +524,8 @@ BOOST_AUTO_TEST_CASE(vmInputLimitsLightTest)
BOOST_AUTO_TEST_CASE(vmRandom)
{
+ test::Options::get(); // parse command line options, e.g. to enable JIT
+
string testPath = getTestPath();
testPath += "/VMTests/RandomTests";