mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-29 10:30:04 +02:00
[svn r173] moved IR state previously stored in Type into IrType and a Type->IrType map; fixes #7
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "ir/irstruct.h"
|
||||
#include "ir/irvar.h"
|
||||
#include "ir/irsymbol.h"
|
||||
#include "ir/irtype.h"
|
||||
|
||||
// global ir state for current module
|
||||
struct IRState;
|
||||
@@ -79,6 +80,9 @@ struct IRState
|
||||
// ir data associated with DMD Dsymbol nodes
|
||||
std::map<Dsymbol*, IrDsymbol> irDsymbol;
|
||||
|
||||
// ir data associated with DMD Type instances
|
||||
std::map<Type*, IrType> irType;
|
||||
|
||||
// functions
|
||||
typedef std::vector<IrFunction*> FunctionVector;
|
||||
FunctionVector functions;
|
||||
|
||||
Reference in New Issue
Block a user