mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Removed obsolete IrSymbol class.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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 +0,0 @@
|
||||
#include "ir/irsymbol.h"
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user