Mercurial > projects > ldc
comparison dmd/dsymbol.c @ 156:ccd07d9f2ce9 trunk
[svn r172] moving all IR state previously stored in Dsymbol into IrDsymbol and a Dsymbol->IrDsymbol map
author | ChristianK |
---|---|
date | Thu, 01 May 2008 13:05:53 +0200 |
parents | 0e28624814e8 |
children | 5acec6b2eef8 |
comparison
equal
deleted
inserted
replaced
155:7f92f477ff53 | 156:ccd07d9f2ce9 |
---|---|
45 this->comment = NULL; | 45 this->comment = NULL; |
46 | 46 |
47 this->llvmInternal = LLVMnone; | 47 this->llvmInternal = LLVMnone; |
48 this->llvmInternal1 = NULL; | 48 this->llvmInternal1 = NULL; |
49 this->llvmInternal2 = NULL; | 49 this->llvmInternal2 = NULL; |
50 | |
51 //this->llvmValue = NULL; | |
52 this->llvmDModule = NULL; | |
53 | |
54 this->llvmResolved = false; | |
55 this->llvmDeclared = false; | |
56 this->llvmInitialized = false; | |
57 this->llvmDefined = false; | |
58 } | 50 } |
59 | 51 |
60 Dsymbol::Dsymbol(Identifier *ident) | 52 Dsymbol::Dsymbol(Identifier *ident) |
61 { | 53 { |
62 //printf("Dsymbol::Dsymbol(%p, ident)\n", this); | 54 //printf("Dsymbol::Dsymbol(%p, ident)\n", this); |
69 this->comment = NULL; | 61 this->comment = NULL; |
70 | 62 |
71 this->llvmInternal = LLVMnone; | 63 this->llvmInternal = LLVMnone; |
72 this->llvmInternal1 = NULL; | 64 this->llvmInternal1 = NULL; |
73 this->llvmInternal2 = NULL; | 65 this->llvmInternal2 = NULL; |
74 | |
75 //this->llvmValue = NULL; | |
76 this->llvmDModule = NULL; | |
77 | |
78 this->llvmResolved = false; | |
79 this->llvmDeclared = false; | |
80 this->llvmInitialized = false; | |
81 this->llvmDefined = false; | |
82 } | 66 } |
83 | 67 |
84 int Dsymbol::equals(Object *o) | 68 int Dsymbol::equals(Object *o) |
85 { Dsymbol *s; | 69 { Dsymbol *s; |
86 | 70 |