diff dmd/module.h @ 1146:1860414bf3b7

* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h. * Added #if IN_DMD versioning around DMD backend specific code in the D1 frontend, D2 is currently broken. * All part of a greater cleanup scheme.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Thu, 26 Mar 2009 20:45:53 +0100
parents b30fe7e1dbb9
children dbe4af57b240
line wrap: on
line diff
--- a/dmd/module.h	Thu Mar 26 18:46:21 2009 +0100
+++ b/dmd/module.h	Thu Mar 26 20:45:53 2009 +0100
@@ -32,6 +32,7 @@
 typedef DValue elem;
 namespace llvm { class Module; }
 #else
+
 #ifdef IN_GCC
 union tree_node; typedef union tree_node elem;
 #else
@@ -147,7 +148,7 @@
     int imports(Module *m);
 
     // Back end
-
+#if IN_DMD
     int doppelganger;		// sub-module
     Symbol *cov;		// private uint[] __coverage;
     unsigned *covb;		// bit array of valid code line numbers
@@ -171,6 +172,7 @@
     elem *toEmodulename();
 
     Symbol *toSymbol();
+#endif
     void genmoduleinfo();
 
     // LDC