Mercurial > projects > ldc
comparison gen/classes.cpp @ 106:5b5194b25f33 trunk
[svn r110] Fixed typeinfo for classes.
author | lindquist |
---|---|
date | Mon, 19 Nov 2007 06:01:48 +0100 |
parents | 855adfdb8d38 |
children | e8da7856a260 |
comparison
equal
deleted
inserted
replaced
105:182b41f56b7f | 106:5b5194b25f33 |
---|---|
210 if (needs_definition) | 210 if (needs_definition) |
211 gIR->defineList.push_back(cd); | 211 gIR->defineList.push_back(cd); |
212 | 212 |
213 // classinfo | 213 // classinfo |
214 DtoDeclareClassInfo(cd); | 214 DtoDeclareClassInfo(cd); |
215 | |
216 // typeinfo | |
217 if (cd->parent->isModule() && cd->getModule() == gIR->dmodule) | |
218 cd->type->getTypeInfo(NULL); | |
215 } | 219 } |
216 | 220 |
217 ////////////////////////////////////////////////////////////////////////////////////////// | 221 ////////////////////////////////////////////////////////////////////////////////////////// |
218 | 222 |
219 void DtoConstInitClass(ClassDeclaration* cd) | 223 void DtoConstInitClass(ClassDeclaration* cd) |