mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
DtoSymbolAddress: Remove support for unused ClassInfoDeclaration
It will be gone in 2.068.
This commit is contained in:
parent
3abe023e3e
commit
568bf3723b
3 changed files with 0 additions and 10 deletions
|
@ -361,7 +361,6 @@ public:
|
|||
Dsymbol *syntaxCopy(Dsymbol *);
|
||||
void semantic(Scope *sc);
|
||||
|
||||
ClassInfoDeclaration* isClassInfoDeclaration() { return this; }
|
||||
void accept(Visitor *v) { v->visit(this); }
|
||||
};
|
||||
|
||||
|
|
|
@ -304,8 +304,6 @@ public:
|
|||
virtual OverloadSet *isOverloadSet() { return NULL; }
|
||||
virtual void accept(Visitor *v) { v->visit(this); }
|
||||
#if IN_LLVM
|
||||
virtual ClassInfoDeclaration* isClassInfoDeclaration() { return NULL; }
|
||||
|
||||
// llvm stuff
|
||||
int llvmInternal;
|
||||
|
||||
|
|
|
@ -1713,13 +1713,6 @@ DValue* DtoSymbolAddress(Loc& loc, Type* type, Declaration* decl)
|
|||
val = DtoArrayLen(gIR->arrays.back());
|
||||
return new DImValue(type, val);
|
||||
}
|
||||
// classinfo
|
||||
else if (ClassInfoDeclaration* cid = vd->isClassInfoDeclaration())
|
||||
{
|
||||
Logger::println("ClassInfoDeclaration: %s", cid->cd->toChars());
|
||||
DtoResolveClass(cid->cd);
|
||||
return new DVarValue(type, vd, getIrAggr(cid->cd)->getClassInfoSymbol());
|
||||
}
|
||||
// typeinfo
|
||||
else if (TypeInfoDeclaration* tid = vd->isTypeInfoDeclaration())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue