mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-29 14:40:40 +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
|
@ -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