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.
34 lines
355 B
34 lines
355 B
|
|
#pragma once
|
|
|
|
#include <llvm/IR/Type.h>
|
|
|
|
#include <libdevcore/Common.h>
|
|
|
|
namespace evmcc
|
|
{
|
|
|
|
class Compiler
|
|
{
|
|
|
|
private:
|
|
|
|
struct
|
|
{
|
|
llvm::Type* word8;
|
|
llvm::Type* word8ptr;
|
|
llvm::Type* word256;
|
|
llvm::Type* word256ptr;
|
|
llvm::Type* word256arr;
|
|
llvm::Type* size;
|
|
} Types;
|
|
|
|
public:
|
|
|
|
Compiler();
|
|
|
|
void compile(const dev::bytes& bytecode);
|
|
|
|
};
|
|
|
|
}
|