From: Zoltan Varga Date: Wed, 16 Apr 2014 16:05:29 +0000 (+0200) Subject: [jit] Fix the lookup of the AOT version of Interlocked.Exchange in full-aot mode... X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=10f6606d5bcbb6a7b663c5b38a4ab46d51491bc6;p=mono.git [jit] Fix the lookup of the AOT version of Interlocked.Exchange in full-aot mode. Fixes #19070. --- diff --git a/mono/mini/mini.c b/mono/mini/mini.c index cbf64fd3b21..110540968a2 100644 --- a/mono/mini/mini.c +++ b/mono/mini/mini.c @@ -5910,7 +5910,7 @@ mono_jit_compile_method_inner (MonoMethod *method, MonoDomain *target_domain, in else mono_lookup_pinvoke_call (method, NULL, NULL); } - nm = mono_marshal_get_native_wrapper (method, check_for_pending_exc, FALSE); + nm = mono_marshal_get_native_wrapper (method, check_for_pending_exc, mono_aot_only); code = mono_get_addr_from_ftnptr (mono_compile_method (nm)); jinfo = mono_jit_info_table_find (target_domain, code); if (!jinfo)