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.
27 lines
300 B
27 lines
300 B
|
|
#pragma once
|
|
|
|
#include <llvm/IR/Module.h>
|
|
|
|
#include "Runtime.h"
|
|
|
|
namespace dev
|
|
{
|
|
namespace eth
|
|
{
|
|
namespace jit
|
|
{
|
|
|
|
class ExecutionEngine
|
|
{
|
|
public:
|
|
// FIXME: constructor? ExecutionEngine();
|
|
|
|
int run(std::unique_ptr<llvm::Module> module, RuntimeData* _data, Env* _env);
|
|
|
|
bytes returnData;
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|
|
|