Make !TypeInfo output lazy unless we need to provide full definitions in general.

This commit is contained in:
Tomas Lindquist Olsen
2009-04-16 22:20:26 +02:00
parent e01917bc0d
commit 803fbf4882

View File

@@ -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());
}
}