Mercurial > projects > ldc
comparison dmd/mtype.h @ 173:db9890b3fb64 trunk
[svn r189] moving IR data back into DMD frontend nodes
author | ChristianK |
---|---|
date | Tue, 06 May 2008 07:56:03 +0200 |
parents | 1856c62af24b |
children | f66219e0d530 |
comparison
equal
deleted
inserted
replaced
172:68a7dd38c03c | 173:db9890b3fb64 |
---|---|
18 #include "root.h" | 18 #include "root.h" |
19 #include "stringtable.h" | 19 #include "stringtable.h" |
20 | 20 |
21 #include "arraytypes.h" | 21 #include "arraytypes.h" |
22 #include "expression.h" | 22 #include "expression.h" |
23 | |
24 // llvm | |
25 #include "../ir/irtype.h" | |
23 | 26 |
24 struct Scope; | 27 struct Scope; |
25 struct Identifier; | 28 struct Identifier; |
26 struct Expression; | 29 struct Expression; |
27 struct StructDeclaration; | 30 struct StructDeclaration; |
246 virtual type *toCParamtype(); | 249 virtual type *toCParamtype(); |
247 virtual Symbol *toSymbol(); | 250 virtual Symbol *toSymbol(); |
248 | 251 |
249 // For eliminating dynamic_cast | 252 // For eliminating dynamic_cast |
250 virtual TypeBasic *isTypeBasic(); | 253 virtual TypeBasic *isTypeBasic(); |
254 | |
255 // llvmdc | |
256 IrType ir; | |
251 }; | 257 }; |
252 | 258 |
253 struct TypeBasic : Type | 259 struct TypeBasic : Type |
254 { | 260 { |
255 char *dstring; | 261 char *dstring; |