comparison gen/aa.cpp @ 136:0e28624814e8 trunk

[svn r140] did a lot of the work towards being able to pass multiple modules on the command line. not complete yet though
author lindquist
date Thu, 17 Jan 2008 03:15:12 +0100
parents 44a95ac7368a
children ccd07d9f2ce9
comparison
equal deleted inserted replaced
135:176bd52b3cf5 136:0e28624814e8
56 keytype->getTypeInfo(NULL); 56 keytype->getTypeInfo(NULL);
57 TypeInfoDeclaration* tid = keytype->getTypeInfoDeclaration(); 57 TypeInfoDeclaration* tid = keytype->getTypeInfoDeclaration();
58 assert(tid); 58 assert(tid);
59 DtoResolveDsymbol(Type::typeinfo); 59 DtoResolveDsymbol(Type::typeinfo);
60 DtoForceDeclareDsymbol(tid); 60 DtoForceDeclareDsymbol(tid);
61 assert(tid->llvmValue); 61 assert(tid->irGlobal->value);
62 return tid->llvmValue; 62 return tid->irGlobal->value;
63 } 63 }
64 64
65 ///////////////////////////////////////////////////////////////////////////////////// 65 /////////////////////////////////////////////////////////////////////////////////////
66 66
67 DValue* DtoAAIndex(Type* type, DValue* aa, DValue* key) 67 DValue* DtoAAIndex(Type* type, DValue* aa, DValue* key)