mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Turn on JIT testing with "--jit" command line parameter
This commit is contained in:
parent
8c871d0f9a
commit
0b3264de22
5
vm.cpp
5
vm.cpp
@ -512,7 +512,10 @@ void doTests(json_spirit::mValue& v, bool _fillin)
|
||||
u256 gas;
|
||||
try
|
||||
{
|
||||
auto useJit = true;
|
||||
auto argc = boost::unit_test::framework::master_test_suite().argc;
|
||||
auto argv = boost::unit_test::framework::master_test_suite().argv;
|
||||
|
||||
auto useJit = argc >= 2 && std::string(argv[1]) == "--jit";
|
||||
if (useJit)
|
||||
{
|
||||
jit::VM vm(fev.gas);
|
||||
|
Loading…
Reference in New Issue
Block a user