Mercurial > projects > ldc
comparison dmd/dsymbol.c @ 100:5071469303d4 trunk
[svn r104] TONS OF FIXES.
Split up declaration, constant initializer gen and definition for globals, structs, classes and functions.
Improved ClassInfo support (not complete), not in vtable yet.
Fixed a bunch of forward reference problems.
Much more. Major commit! :)
author | lindquist |
---|---|
date | Fri, 16 Nov 2007 08:21:47 +0100 |
parents | 0ccfae271c45 |
children | 027b8d8b71ec |
comparison
equal
deleted
inserted
replaced
99:a676a7743642 | 100:5071469303d4 |
---|---|
46 this->llvmInternal = LLVMnone; | 46 this->llvmInternal = LLVMnone; |
47 this->llvmInternal1 = NULL; | 47 this->llvmInternal1 = NULL; |
48 this->llvmInternal2 = NULL; | 48 this->llvmInternal2 = NULL; |
49 this->llvmValue = NULL; | 49 this->llvmValue = NULL; |
50 this->llvmDModule = NULL; | 50 this->llvmDModule = NULL; |
51 this->llvmTouched = false; | |
51 } | 52 } |
52 | 53 |
53 Dsymbol::Dsymbol(Identifier *ident) | 54 Dsymbol::Dsymbol(Identifier *ident) |
54 { | 55 { |
55 //printf("Dsymbol::Dsymbol(%p, ident)\n", this); | 56 //printf("Dsymbol::Dsymbol(%p, ident)\n", this); |
63 this->llvmInternal = LLVMnone; | 64 this->llvmInternal = LLVMnone; |
64 this->llvmInternal1 = NULL; | 65 this->llvmInternal1 = NULL; |
65 this->llvmInternal2 = NULL; | 66 this->llvmInternal2 = NULL; |
66 this->llvmValue = NULL; | 67 this->llvmValue = NULL; |
67 this->llvmDModule = NULL; | 68 this->llvmDModule = NULL; |
69 this->llvmTouched = false; | |
68 } | 70 } |
69 | 71 |
70 int Dsymbol::equals(Object *o) | 72 int Dsymbol::equals(Object *o) |
71 { Dsymbol *s; | 73 { Dsymbol *s; |
72 | 74 |