Mercurial > projects > ldc
comparison dmd/mtype.h @ 1051:dc608dc33081
Make IrFuncTy a member of TypeFunction. Reset between modules compiled in the
same LDC call.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Mar 2009 14:25:30 +0100 |
parents | 4d366a75d95f |
children | b30fe7e1dbb9 |
comparison
equal
deleted
inserted
replaced
1050:32ead42679d1 | 1051:dc608dc33081 |
---|---|
21 #include "arraytypes.h" | 21 #include "arraytypes.h" |
22 #include "expression.h" | 22 #include "expression.h" |
23 | 23 |
24 // llvm | 24 // llvm |
25 #include "../ir/irtype.h" | 25 #include "../ir/irtype.h" |
26 #include "../ir/irfuncty.h" | |
26 namespace llvm { class Type; } | 27 namespace llvm { class Type; } |
27 struct IrFuncTy; | |
28 | 28 |
29 struct Scope; | 29 struct Scope; |
30 struct Identifier; | 30 struct Identifier; |
31 struct Expression; | 31 struct Expression; |
32 struct StructDeclaration; | 32 struct StructDeclaration; |
435 enum RET retStyle(); | 435 enum RET retStyle(); |
436 | 436 |
437 unsigned totym(); | 437 unsigned totym(); |
438 | 438 |
439 // LDC | 439 // LDC |
440 IrFuncTy* fty; | 440 IrFuncTy fty; |
441 }; | 441 }; |
442 | 442 |
443 struct TypeDelegate : Type | 443 struct TypeDelegate : Type |
444 { | 444 { |
445 TypeDelegate(Type *t); | 445 TypeDelegate(Type *t); |