Mercurial > projects > ldc
diff 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 |
line wrap: on
line diff
--- a/dmd/mtype.h Fri Mar 06 21:15:13 2009 +0100 +++ b/dmd/mtype.h Sat Mar 07 14:25:30 2009 +0100 @@ -23,8 +23,8 @@ // llvm #include "../ir/irtype.h" +#include "../ir/irfuncty.h" namespace llvm { class Type; } -struct IrFuncTy; struct Scope; struct Identifier; @@ -437,7 +437,7 @@ unsigned totym(); // LDC - IrFuncTy* fty; + IrFuncTy fty; }; struct TypeDelegate : Type