[interp] remove g_error call
authorBernhard Urban <bernhard.urban@xamarin.com>
Wed, 8 Mar 2017 20:05:10 +0000 (21:05 +0100)
committerBernhard Urban <bernhard.urban@xamarin.com>
Wed, 8 Mar 2017 22:02:51 +0000 (23:02 +0100)
can hit this case in racy code (e.g. tests/thread5.cs)

mono/mini/interp/transform.c

index 462619f1475c1096587ff4654ce56387330bcc76..4b2b96b5777eae3556965f183816e6ff39853f36 100644 (file)
@@ -3291,7 +3291,6 @@ mono_interp_transform_method (RuntimeMethod *runtime_method, ThreadContext *cont
                mono_os_mutex_lock(&calc_section);
                if (runtime_method->transformed) {
                        mono_os_mutex_unlock(&calc_section);
-                       g_error ("FIXME: no jit info?");
                        mono_profiler_method_end_jit (method, NULL, MONO_PROFILE_OK);
                        return NULL;
                }