mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-30 15:31:30 +02:00
Started seperating type resolution from the rest of codegen again, the merge had too many regressions.
This commit is contained in:
@@ -137,6 +137,10 @@ Type::Type(TY ty, Type *next)
|
||||
#if IN_DMD
|
||||
this->ctype = NULL;
|
||||
#endif
|
||||
|
||||
#if IN_LLVM
|
||||
this->irtype = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
Type *Type::syntaxCopy()
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user