[jit] Disable direct icalls for now to fix the build.
[mono.git] / mono / mini / method-to-ir.c
index 88c1df7e76a273a1898013073373fc5e9c7c607b..c9cefdcfe533bc215a20258e450afda1e4e4fcf7 100755 (executable)
@@ -4216,12 +4216,16 @@ icall_is_direct_callable (MonoCompile *cfg, MonoMethod *cmethod)
                direct_icall_type_hash = h;
        }
 
+       // FIXME:
+       return FALSE;
+#if 0
        if (cmethod->klass == mono_defaults.math_class)
                return TRUE;
        /* No locking needed */
        if (cmethod->klass->image == mono_defaults.corlib && g_hash_table_lookup (direct_icall_type_hash, cmethod->klass->name))
                return TRUE;
        return FALSE;
+#endif
 }
 
 #define is_complex_isinst(klass) ((klass->flags & TYPE_ATTRIBUTE_INTERFACE) || klass->rank || mono_class_is_nullable (klass) || mono_class_is_marshalbyref (klass) || (klass->flags & TYPE_ATTRIBUTE_SEALED) || klass->byval_arg.type == MONO_TYPE_VAR || klass->byval_arg.type == MONO_TYPE_MVAR)