Remove public LLVM dependency in Compiler

This commit is contained in:
Paweł Bylica 2014-09-26 12:13:13 +02:00
parent 507ba06b49
commit e33fdeab21
2 changed files with 10 additions and 15 deletions

View file

@ -7,6 +7,16 @@
namespace evmcc namespace evmcc
{ {
struct
{
llvm::Type* word8;
llvm::Type* word8ptr;
llvm::Type* word256;
llvm::Type* word256ptr;
llvm::Type* word256arr;
llvm::Type* size;
} Types;
Compiler::Compiler() Compiler::Compiler()
{ {
auto& context = llvm::getGlobalContext(); auto& context = llvm::getGlobalContext();

View file

@ -1,8 +1,6 @@
#pragma once #pragma once
#include <llvm/IR/Type.h>
#include <libdevcore/Common.h> #include <libdevcore/Common.h>
namespace evmcc namespace evmcc
@ -10,19 +8,6 @@ namespace evmcc
class Compiler class Compiler
{ {
private:
struct
{
llvm::Type* word8;
llvm::Type* word8ptr;
llvm::Type* word256;
llvm::Type* word256ptr;
llvm::Type* word256arr;
llvm::Type* size;
} Types;
public: public:
Compiler(); Compiler();