|
|
@ -18,7 +18,7 @@ namespace eth |
|
|
|
|
|
|
|
extern "C" void env_sload(); // fake declaration for linker symbol stripping workaround, see a call below
|
|
|
|
|
|
|
|
bytesConstRef JitVM::go(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp, uint64_t _step) |
|
|
|
bytesConstRef JitVM::execImpl(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp, uint64_t _step) |
|
|
|
{ |
|
|
|
using namespace jit; |
|
|
|
|
|
|
@ -33,7 +33,7 @@ bytesConstRef JitVM::go(u256& io_gas, ExtVMFace& _ext, OnOpFunc const& _onOp, ui |
|
|
|
{ |
|
|
|
cwarn << "Execution rejected by EVM JIT (gas limit: " << io_gas << "), executing with interpreter"; |
|
|
|
m_fallbackVM = VMFactory::create(VMKind::Interpreter); |
|
|
|
return m_fallbackVM->go(io_gas, _ext, _onOp, _step); |
|
|
|
return m_fallbackVM->execImpl(io_gas, _ext, _onOp, _step); |
|
|
|
} |
|
|
|
|
|
|
|
m_data.gas = static_cast<decltype(m_data.gas)>(io_gas); |
|
|
|