Skip to content

Commit

Permalink
Temporary workaround for #83792 (#83794)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kg committed Mar 23, 2023
1 parent a1982e2 commit 6031818
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mono/mono/mini/interp/transform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6031818

Please sign in to comment.