[jit] Remove an unused define.
authorZoltan Varga <vargaz@gmail.com>
Sun, 27 Sep 2015 02:12:09 +0000 (22:12 -0400)
committerZoltan Varga <vargaz@gmail.com>
Sun, 27 Sep 2015 02:12:09 +0000 (22:12 -0400)
mono/mini/method-to-ir.c

index 85e0725a4cdcca8c913759b10dc254e49e6c38c6..e5cd02291b0f5d10da83c9779fda373ba294fb37 100644 (file)
@@ -5148,14 +5148,6 @@ mono_method_check_inlining (MonoCompile *cfg, MonoMethod *method)
        if (cfg->inline_depth > 10)
                return FALSE;
 
-#ifdef MONO_ARCH_HAVE_LMF_OPS
-       if (((method->iflags & METHOD_IMPL_ATTRIBUTE_INTERNAL_CALL) ||
-                (method->flags & METHOD_ATTRIBUTE_PINVOKE_IMPL)) &&
-           !MONO_TYPE_ISSTRUCT (signature->ret) && !mini_class_is_system_array (method->klass))
-               return TRUE;
-#endif
-
-
        if (!mono_method_get_header_summary (method, &header))
                return FALSE;
 
@@ -12152,11 +12144,6 @@ mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b
                        }
                        case CEE_MONO_SAVE_LMF:
                        case CEE_MONO_RESTORE_LMF:
-#ifdef MONO_ARCH_HAVE_LMF_OPS
-                               MONO_INST_NEW (cfg, ins, (ip [1] == CEE_MONO_SAVE_LMF) ? OP_SAVE_LMF : OP_RESTORE_LMF);
-                               MONO_ADD_INS (cfg->cbb, ins);
-                               cfg->need_lmf_area = TRUE;
-#endif
                                ip += 2;
                                break;
                        case CEE_MONO_CLASSCONST: