/
bug457574.il
96 lines (75 loc) · 1.15 KB
/
bug457574.il
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.assembly extern mscorlib
{
.ver 2:0:0:0
.publickeytoken = (B7 7A 5C 56 19 34 E0 89 )
}
.assembly 'bug457574'
{
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.module repro.exe
.class public auto ansi beforefieldinit bug457574_regression extends [mscorlib]System.Object
{
.method public static hidebysig default bool test_01 () cil managed
{
.maxstack 6
.locals init (unsigned int32 V_0, unsigned int32 V_1)
ldc.i4.0
stloc.0
ldloc.0
switch (IL_0021, IL_0069)
br IL_0075
IL_0021:
br IL_0069
IL_0026:
ldloc.0
ldloc.1
ceq
brfalse IL_0051
br IL_0075
IL_0051:
ldloc.1
stloc.0
br IL_0077
IL_0069:
br IL_0026
ldc.i4.1
stloc.1
IL_0075:
ldc.i4.0
ret
IL_0077:
ldc.i4.1
ret
}
.method public static hidebysig default void test_02 () cil managed
{
.maxstack 8
.locals init (int32 V_0)
ldloc.0
switch(label_1, label_2)
br end
label_1:
br label_2
label_3:
nop
nop
br end
label_2:
br label_3
nop
nop
end:
ret
}
.method public static hidebysig default void Main () cil managed
{
.entrypoint
.maxstack 8
call bool bug457574_regression::test_01 ()
pop
call void bug457574_regression::test_02 ()
ret
}
}