[jit] Remove unused MONO_PATCH_INFO_MONITOR_ENTER/EXIT.
[mono.git] / mono / mini / mini-llvm.c
index d65687dab13617ea1ac664c502db68d888507801..ba52497fd42d7d19f99c8b41ca689cbe5d945cba 100644 (file)
@@ -3165,11 +3165,6 @@ process_call (EmitContext *ctx, MonoBasicBlock *bb, LLVMBuilderRef *builder_ref,
                                                 * FIXME: Some trampolines might have
                                                 * their own calling convention on some platforms.
                                                 */
-#ifndef TARGET_AMD64
-                                               if (abs_ji->type == MONO_PATCH_INFO_MONITOR_ENTER || abs_ji->type == MONO_PATCH_INFO_MONITOR_ENTER_V4 ||
-                                                               abs_ji->type == MONO_PATCH_INFO_MONITOR_EXIT)
-                                                       LLVM_FAILURE (ctx, "trampoline with own cconv");
-#endif
                                                target = mono_resolve_patch_target (cfg->method, cfg->domain, NULL, abs_ji, FALSE);
                                                LLVMAddGlobalMapping (ctx->module->ee, callee, target);
                                        }