Mercurial > projects > ldc
diff dmd/dsymbol.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 | 5071469303d4 |
children | 0e28624814e8 |
line wrap: on
line diff
--- a/dmd/dsymbol.c Fri Nov 16 10:01:24 2007 +0100 +++ b/dmd/dsymbol.c Sun Nov 18 06:52:57 2007 +0100 @@ -48,7 +48,11 @@ this->llvmInternal2 = NULL; this->llvmValue = NULL; this->llvmDModule = NULL; - this->llvmTouched = false; + + this->llvmResolved = false; + this->llvmDeclared = false; + this->llvmInitialized = false; + this->llvmDefined = false; } Dsymbol::Dsymbol(Identifier *ident) @@ -66,7 +70,11 @@ this->llvmInternal2 = NULL; this->llvmValue = NULL; this->llvmDModule = NULL; - this->llvmTouched = false; + + this->llvmResolved = false; + this->llvmDeclared = false; + this->llvmInitialized = false; + this->llvmDefined = false; } int Dsymbol::equals(Object *o)