@ -172,7 +172,7 @@ int main(int argc, char** argv)
{
auto engine = eth::jit::ExecutionEngine();
u256 gas = initialGas;
auto result = engine.run(std::move(module), gas, options.count("show-logs") > 0);
auto result = engine.run(std::move(module), gas, options.count("show-logs") > 0, nullptr);
return result;
}
@ -18,7 +18,7 @@ class ExecutionEngine
public:
ExecutionEngine();
int run(std::unique_ptr<llvm::Module> module, u256& _gas, bool _outputLogs, ExtVMFace* _ext = nullptr);
int run(std::unique_ptr<llvm::Module> module, u256& _gas, bool _outputLogs, ExtVMFace* _ext);
bytes returnData;
};
@ -20,7 +20,7 @@ bytesConstRef VM::go(ExtVMFace& _ext, OnOpFunc const&, uint64_t)
auto module = Compiler(defaultOptions).compile(_ext.code);
ExecutionEngine engine;
auto exitCode = engine.run(std::move(module), m_gas, &_ext);
auto exitCode = engine.run(std::move(module), m_gas, false, &_ext);
switch (static_cast<ReturnCode>(exitCode))