Mercurial > projects > ldc
comparison dmd/module.h @ 139:0ab29b838084 trunk
[svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :)
Fixed: tango.io.Console seems to be working now.
author | lindquist |
---|---|
date | Tue, 22 Jan 2008 00:01:16 +0100 |
parents | a7dfa0ed966c |
children | ccd07d9f2ce9 |
comparison
equal
deleted
inserted
replaced
138:aeddd4d533b3 | 139:0ab29b838084 |
---|---|
27 | 27 |
28 // Back end | 28 // Back end |
29 #if IN_LLVM | 29 #if IN_LLVM |
30 struct DValue; | 30 struct DValue; |
31 typedef DValue elem; | 31 typedef DValue elem; |
32 namespace llvm { class GlobalVariable; } | 32 struct IrModule; |
33 #else | 33 #else |
34 #ifdef IN_GCC | 34 #ifdef IN_GCC |
35 union tree_node; typedef union tree_node elem; | 35 union tree_node; typedef union tree_node elem; |
36 #else | 36 #else |
37 struct elem; | 37 struct elem; |
167 | 167 |
168 Symbol *toSymbol(); | 168 Symbol *toSymbol(); |
169 void genmoduleinfo(); | 169 void genmoduleinfo(); |
170 | 170 |
171 // LLVMDC | 171 // LLVMDC |
172 llvm::GlobalVariable* llvmCompileUnit; | 172 IrModule* irModule; |
173 | 173 |
174 Module *isModule() { return this; } | 174 Module *isModule() { return this; } |
175 }; | 175 }; |
176 | 176 |
177 | 177 |