Mercurial > projects > ldc
changeset 1239:ff1b4cc2e9be
Make !TypeInfo output lazy unless we need to provide full definitions in general.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Thu, 16 Apr 2009 22:20:26 +0200 |
parents | 3ddec21fe2b6 |
children | f295e51d2dd0 |
files | gen/classes.cpp |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gen/classes.cpp Thu Apr 16 22:19:36 2009 +0200 +++ b/gen/classes.cpp Thu Apr 16 22:20:26 2009 +0200 @@ -84,12 +84,12 @@ } } - // emit typeinfo - DtoTypeInfoOf(cd->type); - - // define classinfo if (needs_def) { + // emit typeinfo + DtoTypeInfoOf(cd->type); + + // define classinfo ClassZ->setInitializer(irstruct->getClassInfoInit()); } }