comparison druntime/import/object.di @ 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 e0b2d67cfe7c
children
comparison
equal deleted inserted replaced
1462:f0423003caa6 1463:a5526b7a5ae6
151 class TypeInfo_Struct : TypeInfo 151 class TypeInfo_Struct : TypeInfo
152 { 152 {
153 string name; 153 string name;
154 void[] m_init; 154 void[] m_init;
155 155
156 uint function(in void*) xtoHash; 156 hash_t function(in void*) xtoHash;
157 equals_t function(in void*, in void*) xopEquals; 157 equals_t function(in void*, in void*) xopEquals;
158 int function(in void*, in void*) xopCmp; 158 int function(in void*, in void*) xopCmp;
159 string function(in void*) xtoString; 159 string function(in void*) xtoString;
160 160
161 uint m_flags; 161 uint m_flags;