Started seperating type resolution from the rest of codegen again, the merge had too many regressions.

This commit is contained in:
Tomas Lindquist Olsen
2009-04-03 16:34:11 +02:00
parent 4df1f9be35
commit 9c4b2b4036
6 changed files with 349 additions and 32 deletions

View File

@@ -27,6 +27,8 @@
#include "../ir/irfuncty.h"
namespace llvm { class Type; }
struct Ir;
class IrType;
#endif
struct Scope;
@@ -281,6 +283,8 @@ struct Type : Object
// LDC
IrDType ir;
static Ir* sir;
IrType* irtype;
#endif
};