Removed obsolete IrSymbol class.

This commit is contained in:
David Nadlinger
2012-12-16 17:19:14 +01:00
parent e592268bf0
commit 4512201de5
6 changed files with 0 additions and 30 deletions
-2
View File
@@ -53,7 +53,6 @@ Dsymbol::Dsymbol()
this->errors = false;
#if IN_LLVM
this->llvmInternal = LLVMnone;
this->irsym = NULL;
#endif
}
@@ -73,7 +72,6 @@ Dsymbol::Dsymbol(Identifier *ident)
this->errors = false;
#if IN_LLVM
this->llvmInternal = LLVMnone;
this->irsym = NULL;
#endif
}
-2
View File
@@ -97,7 +97,6 @@ struct Classsym;
#if IN_LLVM
class Ir;
class IrSymbol;
namespace llvm
{
class Value;
@@ -284,7 +283,6 @@ struct Dsymbol : Object
int llvmInternal;
IrDsymbol ir;
IrSymbol* irsym;
#endif
};
-2
View File
@@ -54,7 +54,6 @@ Dsymbol::Dsymbol()
#if IN_LLVM
this->llvmInternal = LLVMnone;
this->irsym = NULL;
#endif
}
@@ -75,7 +74,6 @@ Dsymbol::Dsymbol(Identifier *ident)
#if IN_LLVM
this->llvmInternal = LLVMnone;
this->irsym = NULL;
#endif
}
-2
View File
@@ -99,7 +99,6 @@ struct TYPE;
#if IN_LLVM
class Ir;
class IrSymbol;
namespace llvm
{
class Value;
@@ -290,7 +289,6 @@ struct Dsymbol : Object
int llvmInternal;
IrDsymbol ir;
IrSymbol* irsym;
#endif
};
-1
View File
@@ -1 +0,0 @@
#include "ir/irsymbol.h"
-21
View File
@@ -1,21 +0,0 @@
#ifndef __LDC_IR_IRSYMBOL_H__
#define __LDC_IR_IRSYMBOL_H__
#include "ir/ir.h"
/// Base class for all symbols.
class IrSymbol
{
public:
///
IrSymbol(Ir* ir) : ir(ir) {}
/// Migrate symbols to current module if necessary.
virtual void migrate() = 0;
protected:
///
Ir* ir;
};
#endif