diff gen/toobj.cpp @ 763:9a9f403ab399

D2 changes! Removed druntime from the repository again.. Sorry :/ Updated the druntime port a bit, now requires druntime from trunk. Added info in runtime/README on how to get druntime from trunk. Added patch to add LDC support to druntime. Removed some debug logging from D2 builds. Fixed broken typeinfo for const/invariant in D2.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 12 Nov 2008 07:22:05 +0100
parents f04dde6e882c
children af04bbae8553
line wrap: on
line diff
--- a/gen/toobj.cpp	Tue Nov 11 22:57:19 2008 +0100
+++ b/gen/toobj.cpp	Wed Nov 12 07:22:05 2008 +0100
@@ -1003,7 +1003,8 @@
     }
     else
     {
-    #if DMDV2
+#if DMDV2
+    #if 0
         if (!ir.irField)
         {
             printf("dataseg: %d\n", isDataseg());
@@ -1011,7 +1012,9 @@
             printf("this: %s %s\n", this->kind(), this->toPrettyChars());
         }
     #endif
-//         assert(ir.irField != 0);
+#else
+        assert(ir.irField != 0);
+#endif
     }
     Logger::println("VarDeclaration::toObjFile is done");
 }