diff 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
line wrap: on
line diff
--- a/dmd/module.h	Fri Jan 18 20:13:19 2008 +0100
+++ b/dmd/module.h	Tue Jan 22 00:01:16 2008 +0100
@@ -29,7 +29,7 @@
 #if IN_LLVM
 struct DValue;
 typedef DValue elem;
-namespace llvm { class GlobalVariable; }
+struct IrModule;
 #else
 #ifdef IN_GCC
 union tree_node; typedef union tree_node elem;
@@ -169,7 +169,7 @@
     void genmoduleinfo();
 
     // LLVMDC
-    llvm::GlobalVariable* llvmCompileUnit;
+    IrModule* irModule;
 
     Module *isModule() { return this; }
 };