Mercurial > projects > ldc
comparison dmd/module.h @ 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 | 0ab29b838084 |
children | aaade6ded589 |
comparison
equal
deleted
inserted
replaced
155:7f92f477ff53 | 156:ccd07d9f2ce9 |
---|---|
27 | 27 |
28 // Back end | 28 // Back end |
29 #if IN_LLVM | 29 #if IN_LLVM |
30 struct DValue; | 30 struct DValue; |
31 typedef DValue elem; | 31 typedef DValue elem; |
32 struct IrModule; | |
33 #else | 32 #else |
34 #ifdef IN_GCC | 33 #ifdef IN_GCC |
35 union tree_node; typedef union tree_node elem; | 34 union tree_node; typedef union tree_node elem; |
36 #else | 35 #else |
37 struct elem; | 36 struct elem; |
167 | 166 |
168 Symbol *toSymbol(); | 167 Symbol *toSymbol(); |
169 void genmoduleinfo(); | 168 void genmoduleinfo(); |
170 | 169 |
171 // LLVMDC | 170 // LLVMDC |
172 IrModule* irModule; | |
173 | |
174 Module *isModule() { return this; } | 171 Module *isModule() { return this; } |
175 }; | 172 }; |
176 | 173 |
177 | 174 |
178 struct ModuleDeclaration | 175 struct ModuleDeclaration |