* class.c (mono_class_get_vtable_entry): Avoid adding static-rgctx
wrappers, this is now done in the JIT.
svn path=/trunk/mono/; revision=134287
2009-05-16 Zoltan Varga <vargaz@gmail.com>
+ * class.c (mono_class_get_vtable_entry): Avoid adding static-rgctx
+ wrappers, this is now done in the JIT.
+
* class.c (mono_set_generic_sharing_supported): New internal function.
(mono_class_generic_sharing_enabled): Move the #ifdef stuff to the JIT.
m = class->vtable [offset];
}
- /*
- * We have to add static rgctx wrappers somewhere, we do it here,
- * altough it should probably be done by the JIT.
- */
- if (mono_method_needs_static_rgctx_invoke (m, FALSE))
- m = mono_marshal_get_static_rgctx_invoke (m);
return m;
}