* object.c (build_imt_slots): Avoid asserting when static methods are
encountered in an interface.
svn path=/trunk/mono/; revision=149528
+2010-01-14 Zoltan Varga <vargaz@gmail.com>
+
+ * object.c (build_imt_slots): Avoid asserting when static methods are
+ encountered in an interface.
+
2010-01-13 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c (to_space_expand): Fix assertion.
}
/*FIXME (interface_offset + method_slot_in_interface) is wrong for interfaces with static methods.*/
- g_assert ((method->flags & METHOD_ATTRIBUTE_STATIC) == 0);
+ if (method->flags & METHOD_ATTRIBUTE_STATIC)
+ continue;
add_imt_builder_entry (imt_builder, method, &imt_collisions_bitmap, interface_offset + method_slot_in_interface, slot_num);
}