Mercurial > projects > ldc
comparison dmd/mtype.h @ 1184:a6dbd571d417
Moved ir/irtype.* into ir/irdtype.*.
Renamed IrType to IrDType, analogous to IrDSymbol.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Tue, 31 Mar 2009 20:21:28 +0200 |
parents | dbe4af57b240 |
children | 3251ce06c820 |
comparison
equal
deleted
inserted
replaced
1183:df386fd4030e | 1184:a6dbd571d417 |
---|---|
21 #include "arraytypes.h" | 21 #include "arraytypes.h" |
22 #include "expression.h" | 22 #include "expression.h" |
23 | 23 |
24 #if IN_LLVM | 24 #if IN_LLVM |
25 // llvm | 25 // llvm |
26 #include "../ir/irtype.h" | 26 #include "../ir/irdtype.h" |
27 #include "../ir/irfuncty.h" | 27 #include "../ir/irfuncty.h" |
28 namespace llvm { class Type; } | 28 namespace llvm { class Type; } |
29 struct Ir; | 29 struct Ir; |
30 #endif | 30 #endif |
31 | 31 |
277 // For eliminating dynamic_cast | 277 // For eliminating dynamic_cast |
278 virtual TypeBasic *isTypeBasic(); | 278 virtual TypeBasic *isTypeBasic(); |
279 | 279 |
280 #if IN_LLVM | 280 #if IN_LLVM |
281 // LDC | 281 // LDC |
282 IrType ir; | 282 IrDType ir; |
283 static Ir* sir; | 283 static Ir* sir; |
284 #endif | 284 #endif |
285 }; | 285 }; |
286 | 286 |
287 struct TypeBasic : Type | 287 struct TypeBasic : Type |