Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate emitted IL for-loop tests #17128

Merged
merged 7 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2<int32,int32>
{
.field static assembly initonly class assembly/test6@38 @_instance
.method assembly specialname rtspecialname
instance void .ctor() cil managed
.method assembly specialname rtspecialname instance void .ctor() cil managed
{
.custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 )
Expand All @@ -64,8 +63,7 @@
IL_0006: ret
}

.method public strict virtual instance int32
Invoke(int32 x) cil managed
.method public strict virtual instance int32 Invoke(int32 x) cil managed
{

.maxstack 8
Expand All @@ -75,8 +73,7 @@
IL_0003: ret
}

.method private specialname rtspecialname static
void .cctor() cil managed
.method private specialname rtspecialname static void .cctor() cil managed
{

.maxstack 10
Expand All @@ -91,8 +88,7 @@
extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2<int32,int32>
{
.field static assembly initonly class assembly/test7@47 @_instance
.method assembly specialname rtspecialname
instance void .ctor() cil managed
.method assembly specialname rtspecialname instance void .ctor() cil managed
{
.custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 )
Expand All @@ -103,8 +99,7 @@
IL_0006: ret
}

.method public strict virtual instance int32
Invoke(int32 x) cil managed
.method public strict virtual instance int32 Invoke(int32 x) cil managed
{

.maxstack 8
Expand All @@ -114,8 +109,7 @@
IL_0003: ret
}

.method private specialname rtspecialname static
void .cctor() cil managed
.method private specialname rtspecialname static void .cctor() cil managed
{

.maxstack 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2<int32,int32>
{
.field static assembly initonly class assembly/test6@38 @_instance
.method assembly specialname rtspecialname
instance void .ctor() cil managed
.method assembly specialname rtspecialname instance void .ctor() cil managed
{
.custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 )
Expand All @@ -64,8 +63,7 @@
IL_0006: ret
}

.method public strict virtual instance int32
Invoke(int32 x) cil managed
.method public strict virtual instance int32 Invoke(int32 x) cil managed
{

.maxstack 8
Expand All @@ -75,8 +73,7 @@
IL_0003: ret
}

.method private specialname rtspecialname static
void .cctor() cil managed
.method private specialname rtspecialname static void .cctor() cil managed
{

.maxstack 10
Expand All @@ -91,8 +88,7 @@
extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2<int32,int32>
{
.field static assembly initonly class assembly/test7@47 @_instance
.method assembly specialname rtspecialname
instance void .ctor() cil managed
.method assembly specialname rtspecialname instance void .ctor() cil managed
{
.custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 )
Expand All @@ -103,8 +99,7 @@
IL_0006: ret
}

.method public strict virtual instance int32
Invoke(int32 x) cil managed
.method public strict virtual instance int32 Invoke(int32 x) cil managed
{

.maxstack 8
Expand All @@ -114,8 +109,7 @@
IL_0003: ret
}

.method private specialname rtspecialname static
void .cctor() cil managed
.method private specialname rtspecialname static void .cctor() cil managed
{

.maxstack 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2<char,char>
{
.field static assembly initonly class assembly/test8@54 @_instance
.method assembly specialname rtspecialname
instance void .ctor() cil managed
.method assembly specialname rtspecialname instance void .ctor() cil managed
{
.custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 )
Expand All @@ -64,8 +63,7 @@
IL_0006: ret
}

.method public strict virtual instance char
Invoke(char x) cil managed
.method public strict virtual instance char Invoke(char x) cil managed
{

.maxstack 8
Expand All @@ -77,8 +75,7 @@
IL_0005: ret
}

.method private specialname rtspecialname static
void .cctor() cil managed
.method private specialname rtspecialname static void .cctor() cil managed
{

.maxstack 10
Expand All @@ -93,8 +90,7 @@
extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2<char,char>
{
.field static assembly initonly class assembly/test9@63 @_instance
.method assembly specialname rtspecialname
instance void .ctor() cil managed
.method assembly specialname rtspecialname instance void .ctor() cil managed
{
.custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 )
Expand All @@ -105,8 +101,7 @@
IL_0006: ret
}

.method public strict virtual instance char
Invoke(char x) cil managed
.method public strict virtual instance char Invoke(char x) cil managed
{

.maxstack 8
Expand All @@ -118,8 +113,7 @@
IL_0005: ret
}

.method private specialname rtspecialname static
void .cctor() cil managed
.method private specialname rtspecialname static void .cctor() cil managed
{

.maxstack 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2<char,char>
{
.field static assembly initonly class assembly/test8@54 @_instance
.method assembly specialname rtspecialname
instance void .ctor() cil managed
.method assembly specialname rtspecialname instance void .ctor() cil managed
{
.custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 )
Expand All @@ -64,8 +63,7 @@
IL_0006: ret
}

.method public strict virtual instance char
Invoke(char x) cil managed
.method public strict virtual instance char Invoke(char x) cil managed
{

.maxstack 8
Expand All @@ -77,8 +75,7 @@
IL_0005: ret
}

.method private specialname rtspecialname static
void .cctor() cil managed
.method private specialname rtspecialname static void .cctor() cil managed
{

.maxstack 10
Expand All @@ -93,8 +90,7 @@
extends class [FSharp.Core]Microsoft.FSharp.Core.FSharpFunc`2<char,char>
{
.field static assembly initonly class assembly/test9@63 @_instance
.method assembly specialname rtspecialname
instance void .ctor() cil managed
.method assembly specialname rtspecialname instance void .ctor() cil managed
{
.custom instance void [runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 )
.custom instance void [runtime]System.Diagnostics.DebuggerNonUserCodeAttribute::.ctor() = ( 01 00 00 00 )
Expand All @@ -105,8 +101,7 @@
IL_0006: ret
}

.method public strict virtual instance char
Invoke(char x) cil managed
.method public strict virtual instance char Invoke(char x) cil managed
{

.maxstack 8
Expand All @@ -118,8 +113,7 @@
IL_0005: ret
}

.method private specialname rtspecialname static
void .cctor() cil managed
.method private specialname rtspecialname static void .cctor() cil managed
{

.maxstack 10
Expand Down
Loading
Loading