Mercurial > projects > ldc
comparison dmd/declaration.h @ 155:7f92f477ff53 trunk
[svn r171] starting to move IR data from AST nodes into IRState; started with IrFunction
author | ChristianK |
---|---|
date | Tue, 29 Apr 2008 21:33:50 +0200 |
parents | 0e28624814e8 |
children | ccd07d9f2ce9 |
comparison
equal
deleted
inserted
replaced
154:5cb946f323d2 | 155:7f92f477ff53 |
---|---|
22 #include "mtype.h" | 22 #include "mtype.h" |
23 | 23 |
24 namespace llvm { | 24 namespace llvm { |
25 class Value; | 25 class Value; |
26 } | 26 } |
27 struct IrFunction; | |
28 struct IrVar; | 27 struct IrVar; |
29 struct IrGlobal; | 28 struct IrGlobal; |
30 struct IrLocal; | 29 struct IrLocal; |
31 struct IrField; | 30 struct IrField; |
32 | 31 |
612 | 611 |
613 FuncDeclaration *isFuncDeclaration() { return this; } | 612 FuncDeclaration *isFuncDeclaration() { return this; } |
614 | 613 |
615 // llvmdc stuff | 614 // llvmdc stuff |
616 bool runTimeHack; | 615 bool runTimeHack; |
617 IrFunction* irFunc; | |
618 std::set<VarDeclaration*> nestedVars; | 616 std::set<VarDeclaration*> nestedVars; |
619 }; | 617 }; |
620 | 618 |
621 struct FuncAliasDeclaration : FuncDeclaration | 619 struct FuncAliasDeclaration : FuncDeclaration |
622 { | 620 { |