mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 12:46:44 +00:00
A bit of work in evmcc. Not ready yet.
This commit is contained in:
parent
b98725861d
commit
adb5a6869f
1 changed files with 22 additions and 21 deletions
|
|
@ -16,8 +16,8 @@
|
||||||
#include <libdevcore/CommonIO.h>
|
#include <libdevcore/CommonIO.h>
|
||||||
#include <libevmcore/Instruction.h>
|
#include <libevmcore/Instruction.h>
|
||||||
#include <libevm/ExtVMFace.h>
|
#include <libevm/ExtVMFace.h>
|
||||||
#include <libevmjit/Compiler.h>
|
#include <evmjit/libevmjit/Compiler.h>
|
||||||
#include <libevmjit/ExecutionEngine.h>
|
#include <evmjit/libevmjit/ExecutionEngine.h>
|
||||||
|
|
||||||
|
|
||||||
void parseProgramOptions(int _argc, char** _argv, boost::program_options::variables_map& _varMap)
|
void parseProgramOptions(int _argc, char** _argv, boost::program_options::variables_map& _varMap)
|
||||||
|
|
@ -190,7 +190,8 @@ int main(int argc, char** argv)
|
||||||
ext.data = std::string("Hello the Beautiful World of Ethereum!");
|
ext.data = std::string("Hello the Beautiful World of Ethereum!");
|
||||||
ext.code = { 0x0d, 0x0e, 0x0a, 0x0d, 0x0b, 0x0e, 0xe, 0xf };
|
ext.code = { 0x0d, 0x0e, 0x0a, 0x0d, 0x0b, 0x0e, 0xe, 0xf };
|
||||||
|
|
||||||
auto result = engine.run(std::move(module), gas, options.count("show-logs") > 0, ext);
|
// BROKEN: env_* functions must be implemented & RuntimeData struct created
|
||||||
|
auto result = engine.run(std::move(module), gas, ext);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue