You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
325 B
28 lines
325 B
|
|
#pragma once
|
|
|
|
#include <llvm/IR/Module.h>
|
|
|
|
#include <libdevcore/Common.h>
|
|
#include <libevm/ExtVMFace.h>
|
|
|
|
namespace dev
|
|
{
|
|
namespace eth
|
|
{
|
|
namespace jit
|
|
{
|
|
|
|
class ExecutionEngine
|
|
{
|
|
public:
|
|
ExecutionEngine();
|
|
|
|
int run(std::unique_ptr<llvm::Module> module, u256& _gas, ExtVMFace* _ext = nullptr);
|
|
|
|
bytes returnData;
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|
|
|