comparison dmd/dsymbol.c @ 1147:dbe4af57b240

Changed use of toObjFile to a new codegen method. More versioning of DMD specific codegen code.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Fri, 27 Mar 2009 17:54:27 +0100
parents 1860414bf3b7
children 78038e540342
comparison
equal deleted inserted replaced
1146:1860414bf3b7 1147:dbe4af57b240
46 this->loc = 0; 46 this->loc = 0;
47 this->comment = NULL; 47 this->comment = NULL;
48 48
49 #if IN_LLVM 49 #if IN_LLVM
50 this->llvmInternal = LLVMnone; 50 this->llvmInternal = LLVMnone;
51 this->irsym = NULL;
51 #endif 52 #endif
52 } 53 }
53 54
54 Dsymbol::Dsymbol(Identifier *ident) 55 Dsymbol::Dsymbol(Identifier *ident)
55 { 56 {
64 this->loc = 0; 65 this->loc = 0;
65 this->comment = NULL; 66 this->comment = NULL;
66 67
67 #if IN_LLVM 68 #if IN_LLVM
68 this->llvmInternal = LLVMnone; 69 this->llvmInternal = LLVMnone;
70 this->irsym = NULL;
69 #endif 71 #endif
70 } 72 }
71 73
72 int Dsymbol::equals(Object *o) 74 int Dsymbol::equals(Object *o)
73 { Dsymbol *s; 75 { Dsymbol *s;