mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-30 11:00:05 +02:00
[svn r189] moving IR data back into DMD frontend nodes
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
#include "mars.h"
|
||||
#include "arraytypes.h"
|
||||
|
||||
// llvm
|
||||
#include "../ir/irsymbol.h"
|
||||
|
||||
struct Identifier;
|
||||
struct Scope;
|
||||
struct DsymbolTable;
|
||||
@@ -76,6 +79,7 @@ typedef union tree_node TYPE;
|
||||
struct TYPE;
|
||||
#endif
|
||||
|
||||
// llvm
|
||||
#if IN_LLVM
|
||||
namespace llvm
|
||||
{
|
||||
@@ -220,6 +224,8 @@ struct Dsymbol : Object
|
||||
int llvmInternal;
|
||||
char* llvmInternal1;
|
||||
char* llvmInternal2;
|
||||
|
||||
IrDsymbol ir;
|
||||
};
|
||||
|
||||
// Dsymbol that generates a scope
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
#include "arraytypes.h"
|
||||
#include "expression.h"
|
||||
|
||||
// llvm
|
||||
#include "../ir/irtype.h"
|
||||
|
||||
struct Scope;
|
||||
struct Identifier;
|
||||
struct Expression;
|
||||
@@ -248,6 +251,9 @@ struct Type : Object
|
||||
|
||||
// For eliminating dynamic_cast
|
||||
virtual TypeBasic *isTypeBasic();
|
||||
|
||||
// llvmdc
|
||||
IrType ir;
|
||||
};
|
||||
|
||||
struct TypeBasic : Type
|
||||
|
||||
Reference in New Issue
Block a user