Skip to content

Commit

Permalink
Updating more_tails.cs and respective il
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianBohe committed Feb 27, 2023
1 parent e380946 commit 1205592
Show file tree
Hide file tree
Showing 2 changed files with 1,332 additions and 879 deletions.
6 changes: 4 additions & 2 deletions src/tests/JIT/Directed/tailcall/more_tailcalls.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using Xunit;

struct S16
{
Expand Down Expand Up @@ -48,7 +49,7 @@ class HeapInt
public override string ToString() => $"{Value}";
}

internal class Program
public class Program
{
private static readonly IntPtr s_calcStaticCalli;
private static readonly IntPtr s_calcStaticCalliOther;
Expand Down Expand Up @@ -84,7 +85,8 @@ static Program()
s_instanceMethodOnValueType = instanceMethodOnValueType;
}

private static int Main()
[Fact]
public static int Main()
{
const int numCalcIters = 1000000;
const int countUpIters = 1000000;
Expand Down
Loading

0 comments on commit 1205592

Please sign in to comment.