comparison ir/ir.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 3d1b16dabd25
children
comparison
equal deleted inserted replaced
1363:b7c8506e1eed 1364:46f6365a50d7
14 struct IrBase : Object 14 struct IrBase : Object
15 { 15 {
16 virtual ~IrBase() {} 16 virtual ~IrBase() {}
17 }; 17 };
18 18
19 struct Ir 19 class Ir
20 { 20 {
21 public:
21 Ir(); 22 Ir();
22 23
23 void setState(IRState* p) { irs = p; } 24 void setState(IRState* p) { irs = p; }
24 IRState* getState() { return irs; } 25 IRState* getState() { return irs; }
25 26