X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fjit-icalls.c;h=fa3d7a4681971e74fafa19d297ab476de42c470d;hb=HEAD;hp=dbf89a8d517e0ea20d793f181a7c8f65487aeffb;hpb=3e69ff3ae72acec33c471236da49ed6c78b26dc4;p=mono.git diff --git a/mono/mini/jit-icalls.c b/mono/mini/jit-icalls.c index dbf89a8d517..fa3d7a46819 100644 --- a/mono/mini/jit-icalls.c +++ b/mono/mini/jit-icalls.c @@ -1,5 +1,6 @@ -/* - * jit-icalls.c: internal calls used by the JIT +/** + * \file + * internal calls used by the JIT * * Author: * Dietmar Maurer (dietmar@ximian.com) @@ -8,6 +9,7 @@ * (C) 2002 Ximian, Inc. * Copyright 2003-2011 Novell Inc (http://www.novell.com) * Copyright 2011 Xamarin Inc (http://www.xamarin.com) + * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #include #include @@ -18,8 +20,10 @@ #include "jit-icalls.h" #include +#include #include #include +#include #ifdef ENABLE_LLVM #include "mini-llvm-cpp.h" @@ -34,7 +38,8 @@ mono_ldftn (MonoMethod *method) if (mono_llvm_only) { // FIXME: No error handling - addr = mono_compile_method (method); + addr = mono_compile_method_checked (method, &error); + mono_error_assert_ok (&error); g_assert (addr); if (mono_method_needs_static_rgctx_invoke (method, FALSE)) @@ -69,10 +74,10 @@ ldvirtfn_internal (MonoObject *obj, MonoMethod *method, gboolean gshared) if (gshared && method->is_inflated && mono_method_get_context (method)->method_inst) { MonoGenericContext context = { NULL, NULL }; - if (res->klass->generic_class) - context.class_inst = res->klass->generic_class->context.class_inst; - else if (res->klass->generic_container) - context.class_inst = res->klass->generic_container->context.class_inst; + if (mono_class_is_ginst (res->klass)) + context.class_inst = mono_class_get_generic_class (res->klass)->context.class_inst; + else if (mono_class_is_gtd (res->klass)) + context.class_inst = mono_class_get_generic_container (res->klass)->context.class_inst; context.method_inst = mono_method_get_context (method)->method_inst; res = mono_class_inflate_generic_method_checked (res, &context, &error); @@ -884,11 +889,16 @@ mono_class_static_field_address (MonoDomain *domain, MonoClassField *field) //printf ("SFLDA1 %p\n", (char*)vtable->data + field->offset); - if (domain->special_static_fields && (addr = g_hash_table_lookup (domain->special_static_fields, field))) + if (field->offset == -1) { + /* Special static */ + g_assert (domain->special_static_fields); + mono_domain_lock (domain); + addr = g_hash_table_lookup (domain->special_static_fields, field); + mono_domain_unlock (domain); addr = mono_get_special_static_data (GPOINTER_TO_UINT (addr)); - else + } else { addr = (char*)mono_vtable_get_static_field_data (vtable) + field->offset; - + } return addr; } @@ -1080,35 +1090,28 @@ mono_lconv_to_r8_un (guint64 a) } #endif -#if defined(__native_client_codegen__) || defined(__native_client__) -/* When we cross-compile to Native Client we can't directly embed calls */ -/* to the math library on the host. This will use the fmod on the target*/ -double -mono_fmod(double a, double b) -{ - return fmod(a, b); -} -#endif - gpointer mono_helper_compile_generic_method (MonoObject *obj, MonoMethod *method, gpointer *this_arg) { + MonoError error; MonoMethod *vmethod; gpointer addr; MonoGenericContext *context = mono_method_get_context (method); - mono_jit_stats.generic_virtual_invocations++; + UnlockedIncrement (&mono_jit_stats.generic_virtual_invocations); if (obj == NULL) { mono_set_pending_exception (mono_get_exception_null_reference ()); return NULL; } vmethod = mono_object_get_virtual_method (obj, method); - g_assert (!vmethod->klass->generic_container); - g_assert (!vmethod->klass->generic_class || !vmethod->klass->generic_class->context.class_inst->is_open); + g_assert (!mono_class_is_gtd (vmethod->klass)); + g_assert (!mono_class_is_ginst (vmethod->klass) || !mono_class_get_generic_class (vmethod->klass)->context.class_inst->is_open); g_assert (!context->method_inst || !context->method_inst->is_open); - addr = mono_compile_method (vmethod); + addr = mono_compile_method_checked (vmethod, &error); + if (mono_error_set_pending_exception (&error)) + return NULL; addr = mini_add_method_trampoline (vmethod, addr, mono_method_needs_static_rgctx_invoke (vmethod, FALSE), FALSE); @@ -1121,16 +1124,31 @@ mono_helper_compile_generic_method (MonoObject *obj, MonoMethod *method, gpointe return addr; } +MonoString* +ves_icall_mono_ldstr (MonoDomain *domain, MonoImage *image, guint32 idx) +{ + MonoError error; + MonoString *result = mono_ldstr_checked (domain, image, idx, &error); + mono_error_set_pending_exception (&error); + return result; +} + MonoString* mono_helper_ldstr (MonoImage *image, guint32 idx) { - return mono_ldstr (mono_domain_get (), image, idx); + MonoError error; + MonoString *result = mono_ldstr_checked (mono_domain_get (), image, idx, &error); + mono_error_set_pending_exception (&error); + return result; } MonoString* mono_helper_ldstr_mscorlib (guint32 idx) { - return mono_ldstr (mono_domain_get (), mono_defaults.corlib, idx); + MonoError error; + MonoString *result = mono_ldstr_checked (mono_domain_get (), mono_defaults.corlib, idx, &error); + mono_error_set_pending_exception (&error); + return result; } MonoObject* @@ -1169,13 +1187,21 @@ mono_create_corlib_exception_0 (guint32 token) MonoException * mono_create_corlib_exception_1 (guint32 token, MonoString *arg) { - return mono_exception_from_token_two_strings (mono_defaults.corlib, token, arg, NULL); + MonoError error; + MonoException *ret = mono_exception_from_token_two_strings_checked ( + mono_defaults.corlib, token, arg, NULL, &error); + mono_error_set_pending_exception (&error); + return ret; } MonoException * mono_create_corlib_exception_2 (guint32 token, MonoString *arg1, MonoString *arg2) { - return mono_exception_from_token_two_strings (mono_defaults.corlib, token, arg1, arg2); + MonoError error; + MonoException *ret = mono_exception_from_token_two_strings_checked ( + mono_defaults.corlib, token, arg1, arg2, &error); + mono_error_set_pending_exception (&error); + return ret; } MonoObject* @@ -1186,7 +1212,7 @@ mono_object_castclass_unbox (MonoObject *obj, MonoClass *klass) MonoClass *oklass; if (mini_get_debug_options ()->better_cast_details) { - jit_tls = (MonoJitTlsData *)mono_native_tls_get_value (mono_jit_tls_id); + jit_tls = (MonoJitTlsData *)mono_tls_get_jit_tls (); jit_tls->class_cast_from = NULL; } @@ -1220,7 +1246,7 @@ mono_object_castclass_with_cache (MonoObject *obj, MonoClass *klass, gpointer *c gpointer cached_vtable, obj_vtable; if (mini_get_debug_options ()->better_cast_details) { - jit_tls = (MonoJitTlsData *)mono_native_tls_get_value (mono_jit_tls_id); + jit_tls = (MonoJitTlsData *)mono_tls_get_jit_tls (); jit_tls->class_cast_from = NULL; } @@ -1282,6 +1308,7 @@ mono_object_isinst_with_cache (MonoObject *obj, MonoClass *klass, gpointer *cach gpointer mono_get_native_calli_wrapper (MonoImage *image, MonoMethodSignature *sig, gpointer func) { + MonoError error; MonoMarshalSpec **mspecs; MonoMethodPInvoke piinfo; MonoMethod *m; @@ -1291,7 +1318,9 @@ mono_get_native_calli_wrapper (MonoImage *image, MonoMethodSignature *sig, gpoin m = mono_marshal_get_native_func_wrapper (image, sig, &piinfo, mspecs, func); - return mono_compile_method (m); + gpointer compiled_ptr = mono_compile_method_checked (m, &error); + mono_error_set_pending_exception (&error); + return compiled_ptr; } static MonoMethod* @@ -1299,12 +1328,15 @@ constrained_gsharedvt_call_setup (gpointer mp, MonoMethod *cmethod, MonoClass *k { MonoMethod *m; int vt_slot, iface_offset; + gboolean is_iface = FALSE; - mono_error_init (error); + error_init (error); - if (klass->flags & TYPE_ATTRIBUTE_INTERFACE) { + if (mono_class_is_interface (klass)) { MonoObject *this_obj; + is_iface = TRUE; + /* Have to use the receiver's type instead of klass, the receiver is a ref type */ this_obj = *(MonoObject**)mp; g_assert (this_obj); @@ -1320,7 +1352,7 @@ constrained_gsharedvt_call_setup (gpointer mp, MonoMethod *cmethod, MonoClass *k mono_class_setup_vtable (klass); g_assert (klass->vtable); vt_slot = mono_method_get_vtable_slot (cmethod); - if (cmethod->klass->flags & TYPE_ATTRIBUTE_INTERFACE) { + if (mono_class_is_interface (cmethod->klass)) { iface_offset = mono_class_interface_offset (klass, cmethod->klass); g_assert (iface_offset != -1); vt_slot += iface_offset; @@ -1330,21 +1362,33 @@ constrained_gsharedvt_call_setup (gpointer mp, MonoMethod *cmethod, MonoClass *k m = mono_class_inflate_generic_method (m, mono_method_get_context (cmethod)); } - if (klass->valuetype && (m->klass == mono_defaults.object_class || m->klass == mono_defaults.enum_class->parent || m->klass == mono_defaults.enum_class)) + if (klass->valuetype && (m->klass == mono_defaults.object_class || m->klass == mono_defaults.enum_class->parent || m->klass == mono_defaults.enum_class)) { /* * Calling a non-vtype method with a vtype receiver, has to box. */ *this_arg = mono_value_box_checked (mono_domain_get (), klass, mp, error); - else if (klass->valuetype) - /* - * Calling a vtype method with a vtype receiver - */ - *this_arg = mp; - else + } else if (klass->valuetype) { + if (is_iface) { + /* + * The original type is an interface, so the receiver is a ref, + the called method is a vtype method, need to unbox. + */ + MonoObject *this_obj = *(MonoObject**)mp; + + *this_arg = mono_object_unbox (this_obj); + } else { + /* + * Calling a vtype method with a vtype receiver + */ + *this_arg = mp; + } + } else { /* * Calling a non-vtype method */ *this_arg = *(gpointer*)mp; + } + return m; } @@ -1419,6 +1463,18 @@ mono_generic_class_init (MonoVTable *vtable) mono_error_set_pending_exception (&error); } +void +ves_icall_mono_delegate_ctor (MonoObject *this_obj_raw, MonoObject *target_raw, gpointer addr) +{ + HANDLE_FUNCTION_ENTER (); + MonoError error; + MONO_HANDLE_DCL (MonoObject, this_obj); + MONO_HANDLE_DCL (MonoObject, target); + mono_delegate_ctor (this_obj, target, addr, &error); + mono_error_set_pending_exception (&error); + HANDLE_FUNCTION_RETURN (); +} + gpointer mono_fill_class_rgctx (MonoVTable *vtable, int index) { @@ -1456,7 +1512,7 @@ mono_fill_method_rgctx (MonoMethodRuntimeGenericContext *mrgctx, int index) * out parameter. */ static gpointer -resolve_iface_call (MonoObject *this_obj, int imt_slot, MonoMethod *imt_method, gpointer *out_arg, gboolean caller_gsharedvt) +resolve_iface_call (MonoObject *this_obj, int imt_slot, MonoMethod *imt_method, gpointer *out_arg, gboolean caller_gsharedvt, MonoError *error) { MonoVTable *vt; gpointer *imt, *vtable_slot; @@ -1464,6 +1520,7 @@ resolve_iface_call (MonoObject *this_obj, int imt_slot, MonoMethod *imt_method, gpointer addr, compiled_method, aot_addr; gboolean need_rgctx_tramp = FALSE, need_unbox_tramp = FALSE; + error_init (error); if (!this_obj) /* The caller will handle it */ return NULL; @@ -1471,10 +1528,12 @@ resolve_iface_call (MonoObject *this_obj, int imt_slot, MonoMethod *imt_method, vt = this_obj->vtable; imt = (gpointer*)vt - MONO_IMT_SIZE; - vtable_slot = mini_resolve_imt_method (vt, imt + imt_slot, imt_method, &impl_method, &aot_addr, &need_rgctx_tramp, &variant_iface); + vtable_slot = mini_resolve_imt_method (vt, imt + imt_slot, imt_method, &impl_method, &aot_addr, &need_rgctx_tramp, &variant_iface, error); + return_val_if_nok (error, NULL); // FIXME: This can throw exceptions - addr = compiled_method = mono_compile_method (impl_method); + addr = compiled_method = mono_compile_method_checked (impl_method, error); + mono_error_assert_ok (error); g_assert (addr); if (imt_method->is_inflated && ((MonoMethodInflated*)imt_method)->context.method_inst) @@ -1504,7 +1563,13 @@ resolve_iface_call (MonoObject *this_obj, int imt_slot, MonoMethod *imt_method, gpointer mono_resolve_iface_call_gsharedvt (MonoObject *this_obj, int imt_slot, MonoMethod *imt_method, gpointer *out_arg) { - return resolve_iface_call (this_obj, imt_slot, imt_method, out_arg, TRUE); + MonoError error; + gpointer res = resolve_iface_call (this_obj, imt_slot, imt_method, out_arg, TRUE, &error); + if (!is_ok (&error)) { + MonoException *ex = mono_error_convert_to_exception (&error); + mono_llvm_throw_exception ((MonoObject*)ex); + } + return res; } static gboolean @@ -1533,23 +1598,24 @@ is_generic_method_definition (MonoMethod *m) * out parameter. */ static gpointer -resolve_vcall (MonoVTable *vt, int slot, MonoMethod *imt_method, gpointer *out_arg, gboolean gsharedvt) +resolve_vcall (MonoVTable *vt, int slot, MonoMethod *imt_method, gpointer *out_arg, gboolean gsharedvt, MonoError *error) { MonoMethod *m, *generic_virtual = NULL; gpointer addr, compiled_method; gboolean need_unbox_tramp = FALSE; + error_init (error); /* Same as in common_call_trampoline () */ /* Avoid loading metadata or creating a generic vtable if possible */ - addr = mono_aot_get_method_from_vt_slot (mono_domain_get (), vt, slot); + addr = mono_aot_get_method_from_vt_slot (mono_domain_get (), vt, slot, error); + return_val_if_nok (error, NULL); if (addr && !vt->klass->valuetype) return mono_create_ftnptr (mono_domain_get (), addr); m = mono_class_get_vtable_entry (vt->klass, slot); if (is_generic_method_definition (m)) { - MonoError error; MonoGenericContext context = { NULL, NULL }; MonoMethod *declaring; @@ -1558,18 +1624,18 @@ resolve_vcall (MonoVTable *vt, int slot, MonoMethod *imt_method, gpointer *out_a else declaring = m; - if (m->klass->generic_class) - context.class_inst = m->klass->generic_class->context.class_inst; + if (mono_class_is_ginst (m->klass)) + context.class_inst = mono_class_get_generic_class (m->klass)->context.class_inst; else - g_assert (!m->klass->generic_container); + g_assert (!mono_class_is_gtd (m->klass)); generic_virtual = imt_method; g_assert (generic_virtual); g_assert (generic_virtual->is_inflated); context.method_inst = ((MonoMethodInflated*)generic_virtual)->context.method_inst; - m = mono_class_inflate_generic_method_checked (declaring, &context, &error); - g_assert (mono_error_ok (&error)); /* FIXME don't swallow the error */ + m = mono_class_inflate_generic_method_checked (declaring, &context, error); + mono_error_assert_ok (error); /* FIXME don't swallow the error */ } if (generic_virtual) { @@ -1580,8 +1646,12 @@ resolve_vcall (MonoVTable *vt, int slot, MonoMethod *imt_method, gpointer *out_a need_unbox_tramp = TRUE; } + if (m->iflags & METHOD_IMPL_ATTRIBUTE_SYNCHRONIZED) + m = mono_marshal_get_synchronized_wrapper (m); + // FIXME: This can throw exceptions - addr = compiled_method = mono_compile_method (m); + addr = compiled_method = mono_compile_method_checked (m, error); + mono_error_assert_ok (error); g_assert (addr); addr = mini_add_method_wrappers_llvmonly (m, addr, gsharedvt, need_unbox_tramp, out_arg); @@ -1603,7 +1673,13 @@ mono_resolve_vcall_gsharedvt (MonoObject *this_obj, int slot, MonoMethod *imt_me { g_assert (this_obj); - return resolve_vcall (this_obj->vtable, slot, imt_method, out_arg, TRUE); + MonoError error; + gpointer result = resolve_vcall (this_obj->vtable, slot, imt_method, out_arg, TRUE, &error); + if (!is_ok (&error)) { + MonoException *ex = mono_error_convert_to_exception (&error); + mono_llvm_throw_exception ((MonoObject*)ex); + } + return result; } /* @@ -1632,10 +1708,10 @@ mono_resolve_generic_virtual_call (MonoVTable *vt, int slot, MonoMethod *generic else declaring = m; - if (m->klass->generic_class) - context.class_inst = m->klass->generic_class->context.class_inst; + if (mono_class_is_ginst (m->klass)) + context.class_inst = mono_class_get_generic_class (m->klass)->context.class_inst; else - g_assert (!m->klass->generic_container); + g_assert (!mono_class_is_gtd (m->klass)); g_assert (generic_virtual->is_inflated); context.method_inst = ((MonoMethodInflated*)generic_virtual)->context.method_inst; @@ -1647,14 +1723,15 @@ mono_resolve_generic_virtual_call (MonoVTable *vt, int slot, MonoMethod *generic need_unbox_tramp = TRUE; // FIXME: This can throw exceptions - addr = compiled_method = mono_compile_method (m); + addr = compiled_method = mono_compile_method_checked (m, &error); + mono_error_assert_ok (&error); g_assert (addr); addr = mini_add_method_wrappers_llvmonly (m, addr, FALSE, need_unbox_tramp, &arg); /* * This wastes memory but the memory usage is bounded since - * mono_method_add_generic_virtual_invocation () eventually builds an imt thunk for + * mono_method_add_generic_virtual_invocation () eventually builds an imt trampoline for * this vtable slot so we are not called any more for this instantiation. */ MonoFtnDesc *ftndesc = mini_create_llvmonly_ftndesc (mono_domain_get (), addr, arg); @@ -1674,6 +1751,7 @@ mono_resolve_generic_virtual_call (MonoVTable *vt, int slot, MonoMethod *generic MonoFtnDesc* mono_resolve_generic_virtual_iface_call (MonoVTable *vt, int imt_slot, MonoMethod *generic_virtual) { + MonoError error; MonoMethod *m, *variant_iface; gpointer addr, aot_addr, compiled_method; gboolean need_unbox_tramp = FALSE; @@ -1683,20 +1761,27 @@ mono_resolve_generic_virtual_iface_call (MonoVTable *vt, int imt_slot, MonoMetho imt = (gpointer*)vt - MONO_IMT_SIZE; - mini_resolve_imt_method (vt, imt + imt_slot, generic_virtual, &m, &aot_addr, &need_rgctx_tramp, &variant_iface); + mini_resolve_imt_method (vt, imt + imt_slot, generic_virtual, &m, &aot_addr, &need_rgctx_tramp, &variant_iface, &error); + if (!is_ok (&error)) { + MonoException *ex = mono_error_convert_to_exception (&error); + mono_llvm_throw_exception ((MonoObject*)ex); + } if (vt->klass->valuetype) need_unbox_tramp = TRUE; - // FIXME: This can throw exceptions - addr = compiled_method = mono_compile_method (m); + if (m->iflags & METHOD_IMPL_ATTRIBUTE_SYNCHRONIZED) + m = mono_marshal_get_synchronized_wrapper (m); + + addr = compiled_method = mono_compile_method_checked (m, &error); + mono_error_raise_exception (&error); g_assert (addr); addr = mini_add_method_wrappers_llvmonly (m, addr, FALSE, need_unbox_tramp, &arg); /* * This wastes memory but the memory usage is bounded since - * mono_method_add_generic_virtual_invocation () eventually builds an imt thunk for + * mono_method_add_generic_virtual_invocation () eventually builds an imt trampoline for * this vtable slot so we are not called any more for this instantiation. */ MonoFtnDesc *ftndesc = mini_create_llvmonly_ftndesc (mono_domain_get (), addr, arg); @@ -1716,11 +1801,14 @@ mono_resolve_generic_virtual_iface_call (MonoVTable *vt, int imt_slot, MonoMetho gpointer mono_init_vtable_slot (MonoVTable *vtable, int slot) { + MonoError error; gpointer arg = NULL; gpointer addr; gpointer *ftnptr; - addr = resolve_vcall (vtable, slot, NULL, &arg, FALSE); + addr = resolve_vcall (vtable, slot, NULL, &arg, FALSE, &error); + if (mono_error_set_pending_exception (&error)) + return NULL; ftnptr = mono_domain_alloc0 (vtable->domain, 2 * sizeof (gpointer)); ftnptr [0] = addr; ftnptr [1] = arg; @@ -1740,6 +1828,7 @@ mono_init_vtable_slot (MonoVTable *vtable, int slot) void mono_llvmonly_init_delegate (MonoDelegate *del) { + MonoError error; MonoFtnDesc *ftndesc = *(MonoFtnDesc**)del->method_code; /* @@ -1748,10 +1837,16 @@ mono_llvmonly_init_delegate (MonoDelegate *del) * but we don't have a a structure which could own its memory. */ if (G_UNLIKELY (!ftndesc)) { - gpointer addr = mono_compile_method (del->method); + MonoMethod *m = del->method; + if (m->iflags & METHOD_IMPL_ATTRIBUTE_SYNCHRONIZED) + m = mono_marshal_get_synchronized_wrapper (m); - if (del->method->klass->valuetype && mono_method_signature (del->method)->hasthis) - addr = mono_aot_get_unbox_trampoline (del->method); + gpointer addr = mono_compile_method_checked (m, &error); + if (mono_error_set_pending_exception (&error)) + return; + + if (m->klass->valuetype && mono_method_signature (m)->hasthis) + addr = mono_aot_get_unbox_trampoline (m); gpointer arg = mini_get_delegate_arg (del->method, addr); @@ -1766,12 +1861,19 @@ mono_llvmonly_init_delegate (MonoDelegate *del) void mono_llvmonly_init_delegate_virtual (MonoDelegate *del, MonoObject *target, MonoMethod *method) { + MonoError error; + g_assert (target); method = mono_object_get_virtual_method (target, method); + if (method->iflags & METHOD_IMPL_ATTRIBUTE_SYNCHRONIZED) + method = mono_marshal_get_synchronized_wrapper (method); + del->method = method; - del->method_ptr = mono_compile_method (method); + del->method_ptr = mono_compile_method_checked (method, &error); + if (mono_error_set_pending_exception (&error)) + return; if (method->klass->valuetype) del->method_ptr = mono_aot_get_unbox_trampoline (method); del->extra_arg = mini_get_delegate_arg (del->method, del->method_ptr); @@ -1780,12 +1882,9 @@ mono_llvmonly_init_delegate_virtual (MonoDelegate *del, MonoObject *target, Mono MonoObject* mono_get_assembly_object (MonoImage *image) { - MonoError error; - MonoObject *result; - result = (MonoObject*)mono_assembly_get_object_checked (mono_domain_get (), image->assembly, &error); - if (!result) - mono_error_set_pending_exception (&error); - return result; + ICALL_ENTRY(); + MonoObjectHandle result = MONO_HANDLE_CAST (MonoObject, mono_assembly_get_object_handle (mono_domain_get (), image->assembly, &error)); + ICALL_RETURN_OBJ (result); } MonoObject* @@ -1824,3 +1923,22 @@ mono_interruption_checkpoint_from_trampoline (void) if (ex) mono_raise_exception (ex); } + +void +mono_throw_method_access (MonoMethod *caller, MonoMethod *callee) +{ + char *caller_name = mono_method_get_reflection_name (caller); + char *callee_name = mono_method_get_reflection_name (callee); + MonoError error; + + error_init (&error); + mono_error_set_generic_error (&error, "System", "MethodAccessException", "Method `%s' is inaccessible from method `%s'", callee_name, caller_name); + mono_error_set_pending_exception (&error); + g_free (callee_name); + g_free (caller_name); +} + +void +mono_dummy_jit_icall (void) +{ +}