diff gen/arrays.cpp @ 1463:a5526b7a5ae6

D2: Applied function type from D1 frontend that got removed in D2, it's critical for member function type to be correct. Fixed a bunch of type discrepancies in druntime object.di vs. genobj.d . Disabled (#if 0) some potentally very large type dumps for -vv . Updated classinfo and typeinfo generation for D2, almost complete now. Added finer grained checks for vtbl type mismatching, aids debugging.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Wed, 03 Jun 2009 02:28:48 +0200
parents a3af393d1936
children b3ba2c6ff038
line wrap: on
line diff
--- a/gen/arrays.cpp	Tue Jun 02 20:28:53 2009 +0200
+++ b/gen/arrays.cpp	Wed Jun 03 02:28:48 2009 +0200
@@ -701,8 +701,10 @@
         // DtoTypeInfoOf only does declare, not enough in this case :/
         t->vtinfo->codegen(Type::sir);
 
+#if 0
         if (Logger::enabled())
             Logger::cout() << "typeinfo decl: " << *tival << '\n';
+#endif
 
         args.push_back(DtoBitCast(tival, fn->getFunctionType()->getParamType(2)));
     }