mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-09 09:34:49 +09:00
[mono][aot] Emit extra interp entry wrappers for long signatures. (#56414)
Fixes https://github.com/dotnet/runtime/issues/55051.
This commit is contained in:
parent
705bbfd7a4
commit
bcae295959
2 changed files with 3 additions and 2 deletions
|
@ -744,7 +744,6 @@ namespace System.Dynamic.Runtime.Tests
|
|||
|
||||
// ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.regclass.regclass012.regclass012
|
||||
[Fact]
|
||||
[ActiveIssue("https://github.com/dotnet/runtime/issues/55051", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT))]
|
||||
public static void CalledFrom_ForExpressionBody()
|
||||
{
|
||||
dynamic mc = new MemberClass();
|
||||
|
@ -758,7 +757,6 @@ namespace System.Dynamic.Runtime.Tests
|
|||
|
||||
// ManagedTests.DynamicCSharp.Conformance.dynamic.context.method.regmethod.regclass.regclass012a.regclass012a
|
||||
[Fact]
|
||||
[ActiveIssue("https://github.com/dotnet/runtime/issues/55051", typeof(PlatformDetection), nameof(PlatformDetection.IsBrowser), nameof(PlatformDetection.IsMonoAOT))]
|
||||
public static void CalledFrom_ForExpressionConditions()
|
||||
{
|
||||
dynamic mc = new MemberClass();
|
||||
|
|
|
@ -9093,6 +9093,9 @@ compile_method (MonoAotCompile *acfg, MonoMethod *method)
|
|||
|
||||
/* These only need in wrappers */
|
||||
add_gsharedvt_wrappers (acfg, sig, TRUE, FALSE, FALSE);
|
||||
if (mono_aot_mode_is_interp (&acfg->aot_opts) && sig->param_count > MAX_INTERP_ENTRY_ARGS)
|
||||
/* See below */
|
||||
add_gsharedvt_wrappers (acfg, sig, FALSE, FALSE, TRUE);
|
||||
}
|
||||
|
||||
for (l = cfg->interp_in_signatures; l; l = l->next) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue