From 6031818a478bdd87e898de73be91b78cd7768dc6 Mon Sep 17 00:00:00 2001 From: Katelyn Gadd Date: Wed, 22 Mar 2023 19:00:21 -0700 Subject: [PATCH] Temporary workaround for #83792 (#83794) The inlining changes have caused us to run some stuff in the interpreter in AOT configuration that used to run in AOT, which is somehow causing some floating point tests to fail that pass in interp-only mode. This workaround makes the tests work again. --- src/mono/mono/mini/interp/transform.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mono/mono/mini/interp/transform.c b/src/mono/mono/mini/interp/transform.c index 91c6852..18651d6 100644 --- a/src/mono/mono/mini/interp/transform.c +++ b/src/mono/mono/mini/interp/transform.c @@ -2875,6 +2875,10 @@ interp_method_check_inlining (TransformData *td, MonoMethod *method, MonoMethodS if (g_list_find (td->dont_inline, method)) return FALSE; + // temp workaround for https://github.com/dotnet/runtime/issues/83792 -kg + if (mono_interp_jit_call_supported(method, csignature)) + return FALSE; + return TRUE; } -- 2.7.4