From: Zoltan Varga Date: Mon, 13 Apr 2015 02:43:02 +0000 (-0400) Subject: Revert "[jit] Avoid generating remoting invoke wrappers for icalls." X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=e37594b0eeed0917fad58b9eb1aca2ff5b3a00f7;p=mono.git Revert "[jit] Avoid generating remoting invoke wrappers for icalls." This reverts commit 4f124705ac70df7cf8b2db0c01602b32e117d272. Revert this as it causes corlib test failures. --- diff --git a/mono/mini/method-to-ir.c b/mono/mini/method-to-ir.c index 60ae6aabb44..0f5e45ad93f 100755 --- a/mono/mini/method-to-ir.c +++ b/mono/mini/method-to-ir.c @@ -2872,7 +2872,7 @@ mono_emit_method_call_full (MonoCompile *cfg, MonoMethod *method, MonoMethodSign * and then we can call the method directly. */ #ifndef DISABLE_REMOTING - if ((mono_class_is_marshalbyref (method->klass) || method->klass == mono_defaults.object_class) && !(method->iflags & METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL)) { + if (mono_class_is_marshalbyref (method->klass) || method->klass == mono_defaults.object_class) { /* * The check above ensures method is not gshared, this is needed since * gshared methods can't have wrappers.