Mercurial > projects > ldc
comparison gen/functions.cpp @ 336:aaade6ded589 trunk
[svn r357] Merged DMD 1.033
author | lindquist |
---|---|
date | Sat, 12 Jul 2008 19:38:31 +0200 |
parents | 20446d22f832 |
children | 6057fdf797d8 |
comparison
equal
deleted
inserted
replaced
335:17b844102023 | 336:aaade6ded589 |
---|---|
84 usesthis = true; | 84 usesthis = true; |
85 } | 85 } |
86 | 86 |
87 if (typesafeVararg) { | 87 if (typesafeVararg) { |
88 ClassDeclaration* ti = Type::typeinfo; | 88 ClassDeclaration* ti = Type::typeinfo; |
89 ti->toObjFile(); | 89 ti->toObjFile(0); // TODO: multiobj |
90 DtoForceConstInitDsymbol(ti); | 90 DtoForceConstInitDsymbol(ti); |
91 assert(ti->ir.irStruct->constInit); | 91 assert(ti->ir.irStruct->constInit); |
92 std::vector<const LLType*> types; | 92 std::vector<const LLType*> types; |
93 types.push_back(DtoSize_t()); | 93 types.push_back(DtoSize_t()); |
94 types.push_back(getPtrToType(getPtrToType(ti->ir.irStruct->constInit->getType()))); | 94 types.push_back(getPtrToType(getPtrToType(ti->ir.irStruct->constInit->getType()))); |