comparison dmd/enum.h @ 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 e961851fb8be
comparison
equal deleted inserted replaced
1146:1860414bf3b7 1147:dbe4af57b240
59 void emitComment(Scope *sc); 59 void emitComment(Scope *sc);
60 void toDocBuffer(OutBuffer *buf); 60 void toDocBuffer(OutBuffer *buf);
61 61
62 EnumDeclaration *isEnumDeclaration() { return this; } 62 EnumDeclaration *isEnumDeclaration() { return this; }
63 63
64 #if IN_DMD
64 void toObjFile(int multiobj); // compile to .obj file 65 void toObjFile(int multiobj); // compile to .obj file
65 void toDebug(); 66 void toDebug();
66 int cvMember(unsigned char *p); 67 int cvMember(unsigned char *p);
67 68
68 #if IN_DMD
69 Symbol *sinit; 69 Symbol *sinit;
70 Symbol *toInitializer(); 70 Symbol *toInitializer();
71 #endif
72
73 #if IN_LLVM
74 void codegen(Ir*);
71 #endif 75 #endif
72 }; 76 };
73 77
74 78
75 struct EnumMember : Dsymbol 79 struct EnumMember : Dsymbol