2 .custom instance void class [mscorlib]System.Runtime.CompilerServices.RuntimeCompatibilityAttribute::'.ctor'() = (
3 01 00 01 00 54 02 16 57 72 61 70 4E 6F 6E 45 78 // ....T..WrapNonEx
4 63 65 70 74 69 6F 6E 54 68 72 6F 77 73 01 ) // ceptionThrows.
6 .assembly extern TestDriver {}
7 .assembly extern mscorlib {}
9 .class public auto ansi sealed beforefieldinit Tests {
11 .method static public int32 Main(string[] args) il managed {
15 call class [mscorlib]System.Type [mscorlib]System.Type::GetTypeFromHandle(valuetype [mscorlib]System.RuntimeTypeHandle)
17 call int32 [TestDriver]TestDriver::RunTests(class [mscorlib]System.Type, string[])
21 // make sure the register allocator works when the return value of
23 .method static public int32 test_0_div_regalloc () il managed {
37 .method static public int32 test_1_ceq_to_i4 () il managed {
51 .method static public int32 test_3_shl_regvars () il managed {
98 .method static public int32 test_1_fceq_to_i4 () il managed {
118 // This should be manually checked. Basically under -O=linears,
119 // you should not see tons of register spilling.
121 .method static public int32 test_1_bytedreg_free () il managed {
157 // This should be manually checked. Basically under -O=linears,
158 // you should not see tons of register spilling.
160 .method static public int32 test_0_bytesreg1_free () il managed {
199 .method static public int32 test_1_shift_regvar () il managed {
220 // this only happens with the managed pointer, not an unmanaged one.
221 .method static public int32 test_0_foo () il managed {
238 .method static public int32 test_0_localloc () cil managed {
239 .locals init (native int, native int, native int, native int, int32)
264 // Check zero initialized
313 // Try allocations bigger than one page
339 .method private static void do_localloc () cil managed {
344 IL_0001: ldc.i4 131072
351 // Check that localloc cannot be inlined
352 .method static public int32 test_0_localloc_inline () cil managed {
362 START: call void class Tests::do_localloc()
375 .method static public int32 test_3_copy_used_bug () il managed {
401 // demonstrate that the copy_used_var is not a fix for the above bug
402 .method static public int32 test_3_copy_used_indir_bug () il managed {
429 .method static public void do_nothing (int32 a) il managed {
433 // demonstrate the block_split failure: needs -O=inline
434 // mini -O=inline --compile Tests:test_0_split_block_bug iltests.exe
435 .method static public int32 test_0_split_block_bug () il managed {
445 call void class Tests::do_nothing (int32)
453 .method public void inline_do_nothing () il managed {
456 .method static public int32 test_1_checkthis_inlining () il managed {
458 call instance void class Tests::inline_do_nothing ()
463 .class nested private auto ansi sealed beforefieldinit TailCallStruct
464 extends [mscorlib]System.ValueType {
465 .field public int32 a
466 .field public int32 b
469 .method static valuetype Tests/TailCallStruct tail1 (valuetype Tests/TailCallStruct arg) {
472 ldfld int32 Tests/TailCallStruct::a
475 stfld int32 Tests/TailCallStruct::a
478 ldfld int32 Tests/TailCallStruct::a
481 stfld int32 Tests/TailCallStruct::a
486 .method static valuetype Tests/TailCallStruct tail2 (valuetype Tests/TailCallStruct arg) {
489 call valuetype Tests/TailCallStruct Tests::tail1 (valuetype Tests/TailCallStruct)
493 .class nested private auto ansi sealed beforefieldinit TailCallStructBig
494 extends [mscorlib]System.ValueType {
495 .field public int32 a
496 .field public int32 b
497 .field public int32 c
498 .field public int32 d
499 .field public int32 e
502 .method static valuetype Tests/TailCallStructBig tail_vret_by_addr_inner (valuetype Tests/TailCallStructBig arg) {
505 ldfld int32 Tests/TailCallStructBig::a
508 stfld int32 Tests/TailCallStructBig::a
513 .method static valuetype Tests/TailCallStructBig tail_vret_by_addr (valuetype Tests/TailCallStructBig arg) {
516 call valuetype Tests/TailCallStructBig Tests::tail_vret_by_addr_inner (valuetype Tests/TailCallStructBig)
520 .method static public int32 test_3_tail_call_vret_by_addr () il managed {
523 valuetype Tests/TailCallStructBig arg2
528 stfld int32 Tests/TailCallStructBig::a
530 call valuetype Tests/TailCallStructBig Tests::tail_vret_by_addr (valuetype Tests/TailCallStructBig)
534 ldfld int32 Tests/TailCallStructBig::a
538 .method static public int32 test_9_tail_call_vret_by_val () il managed {
541 valuetype Tests/TailCallStruct arg
545 stfld int32 Tests/TailCallStruct::a
548 stfld int32 Tests/TailCallStruct::b
550 call valuetype Tests/TailCallStruct Tests::tail2 (valuetype Tests/TailCallStruct)
554 ldfld int32 Tests/TailCallStruct::a
556 ldfld int32 Tests/TailCallStruct::b
561 .method static public int32 tail3 (int32 i, int32 j) il managed {
568 .method static public int32 tail4 (int32 i, int32 j) il managed {
573 // Test arg0 allocated to a register
583 // Test switched up argument variables as the actual arguments
587 call int32 Tests::tail3 (int32, int32)
591 .method static public int32 test_24_tail_calls2 () il managed {
592 // Some platforms might not be able to AOT tail calls
593 .custom instance void class [TestDriver]CategoryAttribute::'.ctor'(string) = (01 00 08 21 46 55 4C 4C 41 4F 54 00 00 ) // ...!FULLAOT..
607 call int32 Tests::tail4 (int32, int32)
611 .method public static int32 test_5_jmp () cil managed {
612 // Some platforms might not be able to AOT tail calls
613 .custom instance void class [TestDriver]CategoryAttribute::'.ctor'(string) = (01 00 08 21 46 55 4C 4C 41 4F 54 00 00 ) // ...!FULLAOT..
617 call int32 Tests::jmp2 (int32, int32)
621 .method public static int32 jmp2 (int32, int32) cil managed {
630 jmp int32 Tests::jmp3 (int32, int32)
635 .method public static int32 jmp3 (int32 i, int32 j) cil managed {
642 .method static public int32 test_11_switch_with_nonempty_stack () il managed {
657 .method public static int32 test_5_endfinally_with_nonempty_stack () il managed {
671 .method public static int32 test_0_conv_ovf_i8_neg () il managed {
686 .method public static int32 test_1234_conv_u4 () cil managed {
695 .method public static int32 test_0_conv_ovf_i_un () cil managed {
714 sizeof [mscorlib]System.IntPtr
721 } catch [mscorlib]System.OverflowException {
733 .method public static int32 test_0_conv_ovf_u_un () cil managed {
748 .method public static int32 test_0_conv_ovf_i () cil managed {
763 .method public static int32 test_0_conv_ovf_u () cil managed {
778 .method public static int32 test_1234_conv_ovf_i8_un () cil managed {
787 .method public static int32 test_0_lconv_ovf_i () cil managed {
803 .method public static int32 test_0_lconv_ovf_u () cil managed {
819 .method public static int32 test_0_lconv_ovf_i_un () cil managed {
835 .method public static int32 test_0_lconv_ovf_u_un () cil managed {
851 .method public static int32 test_0_lconv_to_ovf_i8 () cil managed {
867 .method public static int32 test_0_lconv_to_ovf_u8_un () cil managed {
883 .method public static int32 test_2_lconv_to_ovf_i4_un () cil managed {
885 .locals init (int32 res)
902 } catch [mscorlib]System.OverflowException {
910 ldc.i8 0xffffffff80000000
916 } catch [mscorlib]System.OverflowException {
926 .method public static int32 test_1_lconv_to_ovf_i_un () cil managed {
928 .locals init (int32 res)
940 .method public static int32 test_32_lconv_to_u8 () cil managed
951 .method public static int32 test_32_lconv_to_i8 () cil managed
962 .method public static int32 test_15_lconv_to_u () cil managed
970 .method public static int32 test_1234_fconv_u () cil managed {
979 .method public static int32 test_0_get_type_from_handle_on_bblock_boundary () cil managed
986 ldtoken [mscorlib]System.String
989 ldtoken [mscorlib]System.Object
991 call class [mscorlib]'System.Type' class [mscorlib]'System.Type'::'GetTypeFromHandle'(valuetype [mscorlib]'System.RuntimeTypeHandle')
992 callvirt instance string class [mscorlib]System.Type::get_FullName ()
993 ldstr "System.String"
994 callvirt instance bool class [mscorlib]System.Object::Equals(object)
1000 .method public static int32 test_0_bug59580 ()
1002 ldc.r4 float32(0x7FC00000)
1003 ldc.r4 float32(0x7FC00000)
1014 .method public static int32 test_1_bug60056 () {
1015 .locals init (int32 m5)
1033 .method public static int32 test_1_conv_u8_cfold () {
1037 ldc.i8 0x00000000ffffffff
1043 .method public static int32 test_1_array_type_mismatch_ldelema () {
1044 .locals init (int32 r)
1060 } catch [mscorlib]System.ArrayTypeMismatchException {
1071 .method public static int32 test_1_conv_ovf_i8_with_i4 () {
1080 .method public static int32 test_0_initlocals_float_ptr () {
1084 float32& pinned V_1,
1087 newarr [mscorlib]System.Single
1095 ldelema [mscorlib]System.Single
1105 .method public static int32 test_7_conv_ovf_u8_un () {
1107 .locals init (unsigned int64)
1117 .method public static int32 test_7_conv_ovf_u4_un () {
1119 .locals init (unsigned int32)
1129 .method public static int32 test_1_bug_74591 () {
1131 .locals init (int32)
1144 .class nested public auto ansi Integer
1145 extends [mscorlib]System.Object {
1147 .field public bool n
1149 .method public hidebysig specialname rtspecialname
1150 instance default void .ctor (unsigned int64 i, bool n) cil managed
1154 call instance void class [mscorlib]System.Object::.ctor()
1157 stfld bool Tests/Integer::n
1162 .method public static int32 test_1_bug_74726 () {
1171 newobj instance void class Tests/Integer::.ctor(unsigned int64, bool)
1172 ldfld bool Tests/Integer::n
1178 .class nested private auto ansi sealed xxx
1179 extends [mscorlib]System.ValueType
1181 .field public object a
1183 .method public hidebysig specialname rtspecialname
1184 instance default void .ctor () cil managed
1189 } // end of class xxx
1191 .method public static int32 test_0_newobj_vtype () {
1194 valuetype Tests/xxx V_0
1197 newobj instance void valuetype Tests/xxx::.ctor ()
1200 ldfld object Tests/xxx::a
1209 .method public static int32 test_0_newobj_vtype_primitive () {
1216 newobj instance void native int::'.ctor'(int32)
1228 .method public static int32 test_1_filters () {
1236 ldstr "OnErrorSub test Exception"
1237 newobj instance void class [mscorlib]System.Exception::.ctor(string)
1247 // Should not be called
1269 .class nested private auto ansi sealed beforefieldinit TheStruct
1270 extends [mscorlib]System.ValueType {
1271 .field public int32 a
1272 .field public int32 b
1275 .method public static int32 test_5_cpobj () {
1278 valuetype Tests/TheStruct v_0,
1279 valuetype Tests/TheStruct v_1
1284 stfld int32 Tests/TheStruct::a
1288 stfld int32 Tests/TheStruct::b
1292 cpobj Tests/TheStruct
1295 ldfld int32 Tests/TheStruct::a
1297 ldfld int32 Tests/TheStruct::b
1303 .method public static int32 test_5_ldobj_stloc_optimization () {
1306 valuetype Tests/TheStruct v_0,
1307 valuetype Tests/TheStruct v_1
1312 stfld int32 Tests/TheStruct::a
1316 stfld int32 Tests/TheStruct::b
1319 ldobj valuetype Tests/TheStruct
1323 ldfld int32 Tests/TheStruct::a
1325 ldfld int32 Tests/TheStruct::b
1331 .method public static int32 test_1_cpobj_reference () {
1338 newobj instance void object::.ctor()
1351 .method public static int32 test_1_initobj_reference () {
1357 newobj instance void object::.ctor()
1369 .method public static int32 test_1_ldobj_reference () {
1375 newobj instance void object::.ctor()
1385 .method public static int32 test_5_vtype_on_bb_boundary () {
1388 valuetype Tests/TheStruct v_0,
1389 valuetype Tests/TheStruct v_1
1394 stfld int32 Tests/TheStruct::a
1398 stfld int32 Tests/TheStruct::b
1405 ldfld int32 Tests/TheStruct::a
1407 ldfld int32 Tests/TheStruct::b
1412 .method public static int32 test_5_different_in_stacks () cil managed {
1436 .method public static int32 test_3_larray_get_set () {
1441 newobj instance void int32[0...]::.ctor(int32)
1446 call instance void int32[0...]::Set(int32, int32)
1450 call instance void int32[0...]::Set(int32, int32)
1454 call instance int32 int32[0...]::Get(int32)
1457 call instance int32 int32[0...]::Get(int32)
1462 .method public static int32 test_0_pop_side_effects () {
1471 catch [mscorlib]System.ArithmeticException {
1483 .method public static void regalloc_regress_78314_helper (object o) cil managed
1488 .method public static int32 test_1_regalloc_regress_78314 () cil managed
1490 // Code size 68 (0x44)
1492 .locals init (int32 V_0, bool V_1)
1495 IL_0002: br.s IL_003b
1498 IL_001e: ldc.i4.s 10
1501 IL_0022: ldc.i4.s 10
1505 IL_0028: box [mscorlib]System.Boolean
1506 IL_0032: call void Tests::regalloc_regress_78314_helper(object)
1513 IL_003f: blt.s IL_0004
1522 .method public static void try_block_end_remove_if_useless () cil managed {
1540 .try T_START to T1_END finally handler F1_START to F1_END
1543 .method public static int32 test_0_try_block_end_remove_if_useless () cil managed {
1544 call void class Tests::try_block_end_remove_if_useless ()
1549 .method private static int32 test_0_regress_78629_switch_next_ins_target () cil managed
1559 // This belongs to basic-float.cs, but its hard to tell mcs/csc to
1560 // generate the non .un version of the opcodes
1561 .method private static hidebysig
1562 default int32 test_4_float_branch_nan () cil managed
1564 // Method begins at RVA 0x27a4
1565 // Code size 74 (0x4a)
1571 IL_0000: ldc.r8 (00 00 00 00 00 00 f8 ff)
1579 IL_0018: bge.s IL_001a
1591 IL_0022: ble.s IL_002e
1602 IL_0036: blt.s IL_0038
1613 IL_0040: bgt.s IL_0042
1624 } // end of method Tests::test_5_float_branch_nan
1626 .method private static hidebysig
1627 default void regress_80622_inner (object x) cil managed
1629 .locals init (unsigned int8 i)
1630 // Method begins at RVA 0x2050
1631 // Code size 14 (0xe)
1634 IL_1001: unbox unsigned int8
1635 IL_1006: ldobj unsigned int8
1636 IL_000b: conv.ovf.i4.un
1642 .method private static hidebysig
1643 default int32 test_0_regress_80622 () cil managed
1647 IL_0005: box unsigned int8
1648 IL_000a: call void class Tests::regress_80622_inner (object)
1653 .method private static default int32 test_0_regresss_80190 () cil managed
1656 .locals init (int32 V_0,
1660 IL_0002: ldloca.s V_0
1671 .class interface nested public auto ansi abstract IFaceWithStaticMethod
1673 .method public static specialname
1674 default void foo () cil managed noinlining
1681 .class nested public auto ansi AClass extends [mscorlib]System.Object implements Tests/IFaceWithStaticMethod
1683 .method public hidebysig specialname rtspecialname
1684 instance default void .ctor () cil managed
1692 // Test that static methods in interfaces are ignored during vtable construction
1693 .method private static default int32 test_0_ifaces_with_static_methods () cil managed
1697 newobj instance void class Tests/AClass::.ctor()
1703 .method private static hidebysig default int32 Foo<T> (!!T n) cil managed {
1714 .method static public int32 test_0_nullable_box_brtrue () cil managed {
1716 .locals init (valuetype [mscorlib]System.Nullable`1<int32> V_0)
1719 call int32 class Tests::Foo<valuetype [mscorlib]System.Nullable`1<int32>> (!!0)
1724 .method static public int32 test_0_ldelema_type_check () cil managed {
1726 .locals init (object[] V_0,
1738 } catch [mscorlib]System.ArrayTypeMismatchException {
1752 } catch [mscorlib]System.ArrayTypeMismatchException {
1764 readonly. ldelema object
1766 } catch [mscorlib]System.ArrayTypeMismatchException {
1790 .method static public int32 test_0_array_address_type_check () cil managed {
1792 .locals init (object[] V_0,
1797 newobj instance void object[,]::.ctor(int32, int32)
1804 call instance object& object[,]::Address(int32, int32)
1806 } catch [mscorlib]System.ArrayTypeMismatchException {
1813 newobj instance void string[,]::.ctor(int32, int32)
1820 call instance object& object[,]::Address(int32, int32)
1822 } catch [mscorlib]System.ArrayTypeMismatchException {
1829 newobj instance void string[,]::.ctor(int32, int32)
1836 readonly. call instance object& object[,]::Address(int32, int32)
1838 } catch [mscorlib]System.ArrayTypeMismatchException {
1858 .field public static unsigned int64 'ull'
1860 .field public static int32 'shift2'
1862 .method public static int32 test_0_long_shift_regalloc () cil managed
1864 .locals init (unsigned int32 'cilsimp.28', unsigned int64 'cilsimp.27', int32 'cilsimp.26')
1868 ldc.i8 81985529234382576
1869 stsfld unsigned int64 Tests::ull
1871 stsfld int32 Tests::shift2
1873 ldsfld unsigned int64 Tests::ull
1875 ldsfld int32 Tests::shift2
1886 ldc.i8 1311768467750121216
1894 // Test calling ldfld directly on a vtype instead of a vtype address
1895 .method public static int32 test_5_call_ldfld_vtype () cil managed
1899 valuetype Tests/TailCallStruct arg
1903 stfld int32 Tests/TailCallStruct::a
1906 stfld int32 Tests/TailCallStruct::b
1908 call valuetype Tests/TailCallStruct Tests::tail2 (valuetype Tests/TailCallStruct)
1909 ldfld int32 Tests/TailCallStruct::a
1913 .method public static int32 throw_ret () cil managed
1916 newobj instance void class [mscorlib]System.OverflowException::.ctor(string)
1922 .method public static int32 throw2_ret () cil managed
1929 call int32 Tests::throw_ret ()
1933 // Test inlining a method which contains just a throw
1934 .method public static int32 test_0_inline_throw () cil managed
1942 call int32 Tests::throw2_ret ()
1945 } catch [mscorlib]System.OverflowException {
1958 .method public static int32 test_0_stelem_any_null_opt () cil managed
1966 newarr [mscorlib]System.Object
1977 stelem.any [mscorlib]System.Object
1992 .method public static hidebysig
1993 default int32 manyargs_callee (int32 a, int32 b, int32 c, int32 d, int32 e, int32 f, int32 g, int32 h, int32 i, int32 j, int32 k, int32 l, int32 m, int32 n, int32 o, int32 p) cil managed
1995 // Method begins at RVA 0x20f4
1996 // Code size 44 (0x2c)
2030 } // end of method main::callee
2033 .method public static hidebysig
2034 default int32 manyargs_tail_caller (int32 a, int32 b, int32 c, int32 d, int32 e, int32 f, int32 g, int32 h, int32 i, int32 j, int32 k, int32 l, int32 m, int32 n, int32 o, int32 p) cil managed
2036 // Method begins at RVA 0x2124
2037 // Code size 34 (0x22)
2062 IL_001c: call int32 class Tests::manyargs_callee(int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32)
2064 } // end of method main::caller
2067 .method public static hidebysig
2068 default int32 test_139_many_args_tail_call () cil managed
2070 // Some platforms might not be able to AOT tail calls
2071 .custom instance void class [TestDriver]CategoryAttribute::'.ctor'(string) = (01 00 08 21 46 55 4C 4C 41 4F 54 00 00 ) // ...!FULLAOT..
2073 // Method begins at RVA 0x2154
2074 // Code size 43 (0x2b)
2084 IL_0008: ldc.i4.s 0x09
2085 IL_000a: ldc.i4.s 0x0a
2086 IL_000c: ldc.i4.s 0x0b
2087 IL_000e: ldc.i4.s 0x0c
2088 IL_0010: ldc.i4.s 0x0d
2089 IL_0012: ldc.i4.s 0x0e
2090 IL_0014: ldc.i4.s 0x0f
2091 IL_0016: ldc.i4.s 0x10
2092 IL_0018: call int32 class Tests::manyargs_tail_caller(int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32, int32)
2094 } // end of method main::Main
2096 .class nested private auto ansi beforefieldinit R1
2097 extends [mscorlib]System.MarshalByRefObject
2099 .field public int32 test_field
2101 .method public hidebysig specialname rtspecialname
2102 instance default void '.ctor' () cil managed
2108 .method public static hidebysig
2109 default int32 return_0 () cil managed
2115 .method public static hidebysig
2116 default int32 test_1_volatile_marshalbyref_bug_432673 () cil managed
2122 newobj instance void class Tests/R1::.ctor ()
2127 stfld int32 Tests/R1::test_field
2128 call int32 class Tests::return_0 ()
2134 .method public static default int32 return_2 () cil managed
2144 .method public static hidebysig
2145 default int32 test_1_cmov_opt_regress_463357 () cil managed
2147 call int32 class Tests::return_2 ()
2160 .method public static hidebysig default int32 cmov_opt_regress_474718_inner (int32 A_1) cil managed
2163 .locals init (int32 V_0, bool V_1, bool V_2)
2172 IL_001f: brfalse IL_0036
2189 .method public static default int32 test_0_cmov_opt_regress_474718 () cil managed
2193 call int32 Tests::cmov_opt_regress_474718_inner (int32)
2197 .method public static default int32 test_5_createarr_newobj () cil managed
2202 newobj void char[]::.ctor(int32)
2207 .method public static default int32 test_0_initblk_3_regress_481458 () cil managed
2210 .locals init (native int)
2216 // Set the first value to 3
2223 // Zero out the first 3 values
2229 // Load the first value
2238 .method public static float32 GetFloat32() cil managed noinlining
2241 ldc.r8 0.19975845134874831
2245 /* Disabled until they can be fixed to run on amd64
2246 .method public static default int32 test_0_implicit_float_to_double_conversion () cil managed
2250 call float32 Tests::GetFloat32()
2251 ldc.r8 0.19975845134874831
2262 .method public static default int32 test_0_long_to_r8_un_overflow () cil managed
2265 ldc.i8 0x00FFFFFFFFFFFFFF
2268 ldc.i8 0x100000000000000
2274 ldc.i8 0x00FFFFFFFFFFFFFF
2278 ldc.i8 0x100000000000000
2288 .field public static int32 shift1
2290 .method public static int32 regress_497271_helper (int32 i) cil managed
2296 .method public static int32 test_0_regalloc_regress_497271 () cil managed
2298 .locals init (int32 var)
2301 stsfld int32 Tests::shift1
2302 ldsfld int32 Tests::shift1
2317 call int32 Tests::regress_497271_helper (int32)
2321 call int32 Tests::regress_497271_helper (int32)
2325 .field private static int32 Value
2327 .method public static hidebysig specialname
2328 default int32 regress_513931_inner () cil managed
2330 // Method begins at RVA 0x225c
2331 // Code size 52 (0x34)
2339 stsfld int32 Tests::Value
2342 IL_0001: ldsfld int32 Tests::Value
2351 IL_0010: brtrue.s IL_0027
2355 IL_0014: ldc.i4.s 0x7b
2361 IL_001d: brtrue.s IL_0023
2365 IL_0021: br.s IL_0032
2369 IL_0025: br.s IL_0032
2372 IL_002c: newobj instance void class [mscorlib]System.Exception::'.ctor'()
2378 .method public static hidebysig specialname
2379 default int32 test_0_regress_513931 () cil managed
2381 call int32 Tests::regress_513931_inner ()
2387 .method public static default int32 test_0_newarr_i8 () cil managed
2391 newarr [mscorlib]System.Boolean
2397 .method public static specialname
2398 default int32 return_1_noinline () cil managed noinlining
2406 // Only happens with -O=-deadce,cmov
2407 .method public static default int32 test_0_cmov_unused_582322 () cil managed
2413 call int32 Tests::return_1_noinline ()
2423 .method public static hidebysig
2424 default int32 test_0_regress_586664 () cil managed
2426 // Method begins at RVA 0x20f4
2427 // Code size 76 (0x4c)
2435 IL_001b: call float64 class [mscorlib]System.Math::Pow(float64, float64)
2439 IL_0023: newarr [mscorlib]System.Double
2454 IL_0036: ldc.r8 -0.5
2455 IL_003f: bne.un IL_004a
2464 .method public static int32 test_2_leave_multiple_blocks_from_end ()
2466 .locals init (int32 V_0)
2494 .method public static int32 test_3_leave_multiple_blocks_from_hole ()
2496 .locals init (int32 V_0)
2533 .class nested private auto ansi sealed beforefieldinit Pair`2<TKey,TValue>
2534 extends [mscorlib]System.ValueType
2536 .field public !0 key
2537 .field public !1 'value'
2540 .method private static hidebysig
2541 default bool ContentEquals<TKey,TValue> (valuetype Tests/Pair`2<!!TKey, !!TValue> v) cil managed
2546 constrained. valuetype Tests/Pair`2<!!0,!!1>
2547 IL_0007: callvirt instance bool class [mscorlib]System.Object::Equals(object)
2551 .method public static hidebysig default int32 test_0_constrained_gshared_595863 () cil managed
2554 valuetype Tests/Pair`2<string, string> V_0,
2555 valuetype Tests/Pair`2<string, string> V_1)
2557 IL_0002: initobj valuetype Tests/Pair`2<string,string>
2562 IL_0011: stfld !0 valuetype Tests/Pair`2<string,string>::key
2565 IL_001d: stfld !1 valuetype Tests/Pair`2<string,string>::'value'
2569 IL_0025: call bool class Tests::ContentEquals<string, string> (valuetype Tests/Pair`2<!!0,!!1>)
2578 .method public static default int32 test_0_wrap_non_exception_throws () cil managed
2581 newobj instance void class [mscorlib]System.Object::'.ctor'()
2584 } catch class [mscorlib]System.Runtime.CompilerServices.RuntimeWrappedException {
2592 .method public static default int32 test_0_typespec_modopt () cil managed {
2593 ldtoken class Tests modopt (Tests)
2599 .method public hidebysig static int32 SizeOfT<T>() cil managed
2607 .method public static default int32 test_1_sizeof_gshared () cil managed {
2608 call int32 Tests::SizeOfT<int8>()
2614 .method public static default int32 test_1_sizeof_ref () cil managed {
2615 call int32 Tests::SizeOfT<object>()
2616 sizeof [mscorlib]System.IntPtr
2621 .field static public int32 volatile_int
2623 .method public static default int32 test_5_volatile_load_store () cil managed {
2624 ldsflda int32 class Tests::volatile_int
2628 ldsflda int32 class Tests::volatile_int
2634 .method public static
2635 default int32 regress_693905_inner (int32 x, int32 acc) cil managed
2637 // Method begins at RVA 0x2050
2638 // Code size 17 (0x11)
2641 IL_0001: brtrue.s IL_0005
2653 IL_000f: br.s IL_0000
2655 } // end of method Test::f
2657 .method public static
2658 default int32 test_10_regress_693905 () cil managed
2662 call int32 class Tests::regress_693905_inner(int32, int32)
2666 .method public static
2667 default int32 test_0_llvm_regress_171 () cil managed
2673 call int32 Tests::return_1_noinline ()
2678 call int32 Tests::return_1_noinline ()
2686 .field public static int32 static_a
2688 .method public static
2689 default int32 test_4_ldfld_stfld_static () cil managed
2693 stfld int32 Tests::static_a
2695 ldfld int32 Tests::static_a
2697 ldflda int32 Tests::static_a
2703 .method public static default int32 no_initlocals_inner () cil managed
2709 valuetype Tests/TailCallStruct V_3)
2714 .method public static default int32 test_0_no_initlocals () cil managed
2716 call int32 Tests::no_initlocals_inner()
2722 .method public hidebysig static int32 test_5_r4_fadd_mixed() cil managed
2724 // Code size 17 (0x11)
2726 .locals init (float32 V_0,
2739 .method public hidebysig static int32 test_0_fcmp_eq_r4_mixed() cil managed
2741 // Code size 32 (0x20)
2743 .locals init (float32 V_0,
2751 IL_0013: bne.un IL_001e
2758 } // end of method Tests::test_0_fcmp_eq_r4_mixed
2760 .method public hidebysig static int32 test_0_fceq_r4_mixed() cil managed
2762 // Code size 31 (0x1f)
2764 .locals init (float32 V_0,
2776 IL_0012: brfalse IL_001d
2783 } // end of method Tests::test_0_fceq_r4
2785 .method public static int32 test_0_switch_loop () cil managed
2788 .locals init (valuetype Tests/TailCallStruct V_0, int32 V_1)