comparison ir/irsymbol.h @ 1364:46f6365a50d7

Added IrTypeFunction and IrTypeDelegate and eliminated IrDType. This means the Type::ir field can be removed. It's the final part needed for the move to a slightly more sane type system. Now the whole thing just needs to be cleaned up :P Added -v-cg switch, which right now just prints "codegen: module.name (module/name.d)" to stdout, this can really help figuring out where, in some complex build command, things go wrong.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sat, 16 May 2009 18:19:52 +0200
parents 2a687353c84d
children
comparison
equal deleted inserted replaced
1363:b7c8506e1eed 1364:46f6365a50d7
2 #define __LDC_IR_IRSYMBOL_H__ 2 #define __LDC_IR_IRSYMBOL_H__
3 3
4 #include "ir/ir.h" 4 #include "ir/ir.h"
5 5
6 /// Base class for all symbols. 6 /// Base class for all symbols.
7 struct IrSymbol 7 class IrSymbol
8 { 8 {
9 public:
9 /// 10 ///
10 IrSymbol(Ir* ir) : ir(ir) {} 11 IrSymbol(Ir* ir) : ir(ir) {}
11 12
12 /// Migrate symbols to current module if necessary. 13 /// Migrate symbols to current module if necessary.
13 virtual void migrate() = 0; 14 virtual void migrate() = 0;