Mercurial > projects > ldc
comparison gen/aa.cpp @ 173:db9890b3fb64 trunk
[svn r189] moving IR data back into DMD frontend nodes
author | ChristianK |
---|---|
date | Tue, 06 May 2008 07:56:03 +0200 |
parents | 08cfde5f70d3 |
children | 7816aafeea3c |
comparison
equal
deleted
inserted
replaced
172:68a7dd38c03c | 173:db9890b3fb64 |
---|---|
59 keytype->getTypeInfo(NULL); | 59 keytype->getTypeInfo(NULL); |
60 TypeInfoDeclaration* tid = keytype->getTypeInfoDeclaration(); | 60 TypeInfoDeclaration* tid = keytype->getTypeInfoDeclaration(); |
61 assert(tid); | 61 assert(tid); |
62 DtoResolveDsymbol(Type::typeinfo); | 62 DtoResolveDsymbol(Type::typeinfo); |
63 DtoForceDeclareDsymbol(tid); | 63 DtoForceDeclareDsymbol(tid); |
64 assert(gIR->irDsymbol[tid].irGlobal->value); | 64 assert(tid->ir.irGlobal->value); |
65 return gIR->irDsymbol[tid].irGlobal->value; | 65 return tid->ir.irGlobal->value; |
66 } | 66 } |
67 | 67 |
68 ///////////////////////////////////////////////////////////////////////////////////// | 68 ///////////////////////////////////////////////////////////////////////////////////// |
69 | 69 |
70 DValue* DtoAAIndex(Type* type, DValue* aa, DValue* key) | 70 DValue* DtoAAIndex(Type* type, DValue* aa, DValue* key) |