comparison dmd/mtype.c @ 102:027b8d8b71ec trunk

[svn r106] Turns out the last commit wasn't enough, now the D->LLVM process is even more split up. Basically it tries to do the following in order: Resolve types, Declare symbols, Create constant initializers, Apply initializers, Generate functions bodies. ClassInfo is now has the most useful(biased?) members working. Probably other stuf...
author lindquist
date Sun, 18 Nov 2007 06:52:57 +0100
parents 61615fa85940
children 855adfdb8d38
comparison
equal deleted inserted replaced
101:169fda3a77d4 102:027b8d8b71ec
4372 TypeClass::TypeClass(ClassDeclaration *sym) 4372 TypeClass::TypeClass(ClassDeclaration *sym)
4373 : Type(Tclass, NULL) 4373 : Type(Tclass, NULL)
4374 { 4374 {
4375 this->sym = sym; 4375 this->sym = sym;
4376 llvmInit = 0; 4376 llvmInit = 0;
4377 llvmVtblType = 0;
4377 } 4378 }
4378 4379
4379 char *TypeClass::toChars() 4380 char *TypeClass::toChars()
4380 { 4381 {
4381 return sym->toPrettyChars(); 4382 return sym->toPrettyChars();