Mercurial > projects > ldc
comparison dmd/mtype.h @ 1192:3251ce06c820
Started seperating type resolution from the rest of codegen again, the merge had too many regressions.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail.com> |
---|---|
date | Fri, 03 Apr 2009 16:34:11 +0200 |
parents | a6dbd571d417 |
children | 79758fd2f48a |
comparison
equal
deleted
inserted
replaced
1191:d68796be59fd | 1192:3251ce06c820 |
---|---|
25 // llvm | 25 // llvm |
26 #include "../ir/irdtype.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 | |
31 class IrType; | |
30 #endif | 32 #endif |
31 | 33 |
32 struct Scope; | 34 struct Scope; |
33 struct Identifier; | 35 struct Identifier; |
34 struct Expression; | 36 struct Expression; |
279 | 281 |
280 #if IN_LLVM | 282 #if IN_LLVM |
281 // LDC | 283 // LDC |
282 IrDType ir; | 284 IrDType ir; |
283 static Ir* sir; | 285 static Ir* sir; |
286 | |
287 IrType* irtype; | |
284 #endif | 288 #endif |
285 }; | 289 }; |
286 | 290 |
287 struct TypeBasic : Type | 291 struct TypeBasic : Type |
288 { | 292 { |