Mercurial > projects > ldc
comparison dmd/dsymbol.h @ 173:db9890b3fb64 trunk
[svn r189] moving IR data back into DMD frontend nodes
author | ChristianK |
---|---|
date | Tue, 06 May 2008 07:56:03 +0200 |
parents | 5acec6b2eef8 |
children | aaade6ded589 |
comparison
equal
deleted
inserted
replaced
172:68a7dd38c03c | 173:db9890b3fb64 |
---|---|
18 #include "root.h" | 18 #include "root.h" |
19 #include "stringtable.h" | 19 #include "stringtable.h" |
20 | 20 |
21 #include "mars.h" | 21 #include "mars.h" |
22 #include "arraytypes.h" | 22 #include "arraytypes.h" |
23 | |
24 // llvm | |
25 #include "../ir/irsymbol.h" | |
23 | 26 |
24 struct Identifier; | 27 struct Identifier; |
25 struct Scope; | 28 struct Scope; |
26 struct DsymbolTable; | 29 struct DsymbolTable; |
27 struct Declaration; | 30 struct Declaration; |
74 typedef union tree_node TYPE; | 77 typedef union tree_node TYPE; |
75 #else | 78 #else |
76 struct TYPE; | 79 struct TYPE; |
77 #endif | 80 #endif |
78 | 81 |
82 // llvm | |
79 #if IN_LLVM | 83 #if IN_LLVM |
80 namespace llvm | 84 namespace llvm |
81 { | 85 { |
82 class Value; | 86 class Value; |
83 } | 87 } |
218 | 222 |
219 // llvm stuff | 223 // llvm stuff |
220 int llvmInternal; | 224 int llvmInternal; |
221 char* llvmInternal1; | 225 char* llvmInternal1; |
222 char* llvmInternal2; | 226 char* llvmInternal2; |
227 | |
228 IrDsymbol ir; | |
223 }; | 229 }; |
224 | 230 |
225 // Dsymbol that generates a scope | 231 // Dsymbol that generates a scope |
226 | 232 |
227 struct ScopeDsymbol : Dsymbol | 233 struct ScopeDsymbol : Dsymbol |