diff gen/classes.cpp @ 758:f04dde6e882c

Added initial D2 support, D2 frontend and changes to codegen to make things compile.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Tue, 11 Nov 2008 01:38:48 +0100
parents 041c1596d217
children 4adf0f742896
line wrap: on
line diff
--- a/gen/classes.cpp	Mon Nov 10 20:55:24 2008 +0100
+++ b/gen/classes.cpp	Tue Nov 11 01:38:48 2008 +0100
@@ -1498,6 +1498,15 @@
     }
     inits.push_back(c);
 
+#if DMDV2
+
+    // xgetMembers
+    c = defc->getOperand(13);
+    inits.push_back(c);
+
+#else
+#endif
+
     /*size_t n = inits.size();
     for (size_t i=0; i<n; ++i)
     {