diff dmd/aggregate.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 96b404ba7eb0
children dbe4af57b240
line wrap: on
line diff
--- a/dmd/aggregate.h	Thu Mar 26 18:46:21 2009 +0100
+++ b/dmd/aggregate.h	Thu Mar 26 20:45:53 2009 +0100
@@ -98,10 +98,12 @@
 
     enum PROT prot();
 
+#if IN_DMD
     // Back end
     Symbol *stag;		// tag symbol for debug data
     Symbol *sinit;
     Symbol *toInitializer();
+#endif
 
     AggregateDeclaration *isAggregateDeclaration() { return this; }
 };
@@ -250,6 +252,7 @@
 
     // Back end
     void toObjFile(int multiobj);			// compile to .obj file
+#if IN_DMD
     void toDebug();
     unsigned baseVtblOffset(BaseClass *bc);
     Symbol *toSymbol();
@@ -258,6 +261,7 @@
     void toDt2(dt_t **pdt, ClassDeclaration *cd);
 
     Symbol *vtblsym;
+#endif
 
     ClassDeclaration *isClassDeclaration() { return (ClassDeclaration *)this; }
 };
@@ -280,7 +284,9 @@
     virtual int isCOMinterface();
 
     void toObjFile(int multiobj);			// compile to .obj file
+#if IN_DMD
     Symbol *toSymbol();
+#endif
 
     InterfaceDeclaration *isInterfaceDeclaration() { return this; }
 };