mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-22 07:05:22 +02:00
[svn r173] moved IR state previously stored in Type into IrType and a Type->IrType map; fixes #7
This commit is contained in:
@@ -114,7 +114,6 @@ Type::Type(TY ty, Type *next)
|
||||
this->arrayof = NULL;
|
||||
this->vtinfo = NULL;
|
||||
this->ctype = NULL;
|
||||
this->llvmType = NULL;
|
||||
}
|
||||
|
||||
Type *Type::syntaxCopy()
|
||||
@@ -4413,7 +4412,6 @@ TypeClass::TypeClass(ClassDeclaration *sym)
|
||||
: Type(Tclass, NULL)
|
||||
{
|
||||
this->sym = sym;
|
||||
llvmVtblType = 0;
|
||||
}
|
||||
|
||||
char *TypeClass::toChars()
|
||||
|
||||
14
dmd/mtype.h
14
dmd/mtype.h
@@ -21,16 +21,6 @@
|
||||
#include "arraytypes.h"
|
||||
#include "expression.h"
|
||||
|
||||
// LLVMDC
|
||||
namespace llvm
|
||||
{
|
||||
class Value;
|
||||
class Instruction;
|
||||
class Type;
|
||||
class PATypeHolder;
|
||||
class GlobalVariable;
|
||||
}
|
||||
|
||||
struct Scope;
|
||||
struct Identifier;
|
||||
struct Expression;
|
||||
@@ -253,8 +243,6 @@ struct Type : Object
|
||||
virtual type *toCParamtype();
|
||||
virtual Symbol *toSymbol();
|
||||
|
||||
llvm::PATypeHolder* llvmType;
|
||||
|
||||
// For eliminating dynamic_cast
|
||||
virtual TypeBasic *isTypeBasic();
|
||||
};
|
||||
@@ -637,8 +625,6 @@ struct TypeClass : Type
|
||||
type *toCtype();
|
||||
|
||||
Symbol *toSymbol();
|
||||
|
||||
llvm::PATypeHolder* llvmVtblType;
|
||||
};
|
||||
|
||||
struct TypeTuple : Type
|
||||
|
||||
Reference in New Issue
Block a user