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;
|
this->errors = false;
|
||||||
#if IN_LLVM
|
#if IN_LLVM
|
||||||
this->llvmInternal = LLVMnone;
|
this->llvmInternal = LLVMnone;
|
||||||
this->irsym = NULL;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -73,7 +72,6 @@ Dsymbol::Dsymbol(Identifier *ident)
|
|||||||
this->errors = false;
|
this->errors = false;
|
||||||
#if IN_LLVM
|
#if IN_LLVM
|
||||||
this->llvmInternal = LLVMnone;
|
this->llvmInternal = LLVMnone;
|
||||||
this->irsym = NULL;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -97,7 +97,6 @@ struct Classsym;
|
|||||||
|
|
||||||
#if IN_LLVM
|
#if IN_LLVM
|
||||||
class Ir;
|
class Ir;
|
||||||
class IrSymbol;
|
|
||||||
namespace llvm
|
namespace llvm
|
||||||
{
|
{
|
||||||
class Value;
|
class Value;
|
||||||
@@ -284,7 +283,6 @@ struct Dsymbol : Object
|
|||||||
int llvmInternal;
|
int llvmInternal;
|
||||||
|
|
||||||
IrDsymbol ir;
|
IrDsymbol ir;
|
||||||
IrSymbol* irsym;
|
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ Dsymbol::Dsymbol()
|
|||||||
|
|
||||||
#if IN_LLVM
|
#if IN_LLVM
|
||||||
this->llvmInternal = LLVMnone;
|
this->llvmInternal = LLVMnone;
|
||||||
this->irsym = NULL;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -75,7 +74,6 @@ Dsymbol::Dsymbol(Identifier *ident)
|
|||||||
|
|
||||||
#if IN_LLVM
|
#if IN_LLVM
|
||||||
this->llvmInternal = LLVMnone;
|
this->llvmInternal = LLVMnone;
|
||||||
this->irsym = NULL;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,6 @@ struct TYPE;
|
|||||||
|
|
||||||
#if IN_LLVM
|
#if IN_LLVM
|
||||||
class Ir;
|
class Ir;
|
||||||
class IrSymbol;
|
|
||||||
namespace llvm
|
namespace llvm
|
||||||
{
|
{
|
||||||
class Value;
|
class Value;
|
||||||
@@ -290,7 +289,6 @@ struct Dsymbol : Object
|
|||||||
int llvmInternal;
|
int llvmInternal;
|
||||||
|
|
||||||
IrDsymbol ir;
|
IrDsymbol ir;
|
||||||
IrSymbol* irsym;
|
|
||||||
#endif
|
#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