mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-05-02 00:11:30 +02:00
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user