* transform.c (mono_interp_transform_method):
quick fix to cope with the fake ptr classes
svn path=/trunk/mono/; revision=31527
+2004-07-27 Bernie Solomon <bernard@ugsolutions.com>
+
+ * transform.c (mono_interp_transform_method):
+ quick fix to cope with the fake ptr classes
+
2004-07-26 Bernie Solomon <bernard@ugsolutions.com>
* mintops.def: more options on ICALL op code
if (method->wrapper_type == MONO_WRAPPER_NONE) {
class = mono_class_get_full (image, read32 (ip + 1), generic_context);
mono_class_init (class);
- if (!(class->flags & TYPE_ATTRIBUTE_INTERFACE))
+ /* quick fix to not do this for the fake ptr classes - probably should not be getting the vtable at all here */
+ if (!(class->flags & TYPE_ATTRIBUTE_INTERFACE) && class->interface_offsets != NULL)
mono_class_vtable (domain, class);
}
ip += 5;