* 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.
This commit is contained in:
Tomas Lindquist Olsen
2009-03-26 20:45:53 +01:00
parent 367b8da8f4
commit c42c90ea80
27 changed files with 283 additions and 638 deletions

View File

@@ -32,6 +32,7 @@ struct DValue;
typedef DValue elem;
namespace llvm { class Module; }
#else
#ifdef IN_GCC
union tree_node; typedef union tree_node elem;
#else
@@ -147,7 +148,7 @@ struct Module : Package
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 @@ struct Module : Package
elem *toEmodulename();
Symbol *toSymbol();
#endif
void genmoduleinfo();
// LDC