mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-31 03:53:14 +01:00
Make !TypeInfo output lazy unless we need to provide full definitions in general.
This commit is contained in:
@@ -84,12 +84,12 @@ void DtoResolveClass(ClassDeclaration* cd)
|
||||
}
|
||||
}
|
||||
|
||||
// emit typeinfo
|
||||
DtoTypeInfoOf(cd->type);
|
||||
|
||||
// define classinfo
|
||||
if (needs_def)
|
||||
{
|
||||
// emit typeinfo
|
||||
DtoTypeInfoOf(cd->type);
|
||||
|
||||
// define classinfo
|
||||
ClassZ->setInitializer(irstruct->getClassInfoInit());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user