Mercurial > projects > ldc
comparison gen/classes.cpp @ 1367:8026319762be
Merged DMD 1.045 !!!
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sat, 16 May 2009 22:21:31 +0200 |
parents | 15e9762bb620 |
children | 1fbdfec6ea0d |
comparison
equal
deleted
inserted
replaced
1366:81121ac19f61 | 1367:8026319762be |
---|---|
804 } | 804 } |
805 else | 805 else |
806 c = LLConstant::getNullValue(voidPtr); | 806 c = LLConstant::getNullValue(voidPtr); |
807 inits.push_back(c); | 807 inits.push_back(c); |
808 | 808 |
809 // typeinfo - since 1.045 | |
810 inits.push_back(DtoTypeInfoOf(cd->type, true)); | |
811 | |
809 #if DMDV2 | 812 #if DMDV2 |
810 | 813 |
811 // xgetMembers | 814 // xgetMembers |
812 VarDeclaration* xgetVar = (VarDeclaration*)cinfo->fields.data[11]; | 815 VarDeclaration* xgetVar = (VarDeclaration*)cinfo->fields.data[11]; |
813 const LLType* xgetTy = DtoType(xgetVar->type); | 816 const LLType* xgetTy = DtoType(xgetVar->type); |