/
Inline_DetectChanges.cs
52 lines (47 loc) · 1.48 KB
/
Inline_DetectChanges.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// Generated by Fuzzlyn v1.3 on 2021-08-19 21:40:28
// Run on .NET 6.0.0-dev on X64 Windows
// Seed: 17821235008355468541
// Reduced from 60.7 KiB to 0.8 KiB in 00:42:23
// Exits with error:
//
// Assert failure(PID 35672 [0x00008b58], Thread: 10196 [0x27d4]): Assertion failed 'm_compGenTreeID == m_compiler->compGenTreeID' in 'Program:Foo(System.Object)' during 'Morph - Inlining' (IL size 55)
//
// File: D:\dev\dotnet\runtime\src\coreclr\jit\phase.cpp Line: 47
// Image: D:\dev\Fuzzlyn\Fuzzlyn\publish\windows-x64\Fuzzlyn.exe
//
//
using System;
using System.Runtime.CompilerServices;
public class Program
{
internal static object s_rt;
internal static ulong[, ] s_3;
internal static byte s_7;
internal static ulong[] s_16;
public static int Main()
{
try
{
Foo(null);
}
catch (NullReferenceException)
{
return 100;
}
return 101;
}
public static void Foo(object o)
{
s_rt = o;
var vr3 = new sbyte[]{0};
var vr4 = s_3[0, 0];
var vr5 = s_3[0, 0];
M16(vr3, 0, ref s_16, 0, vr4, vr5, (uint)(s_7 | 0), 0);
}
[MethodImpl(MethodImplOptions.NoInlining)]
internal static void M16(sbyte[] arg0, short arg1, ref ulong[] arg2, byte arg3, ulong arg4, ulong arg5, uint arg6, uint arg7)
{
}
}