Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bug-29859.il « tests « mono - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9f95999004d7b8294cb320c8b0ae0855c058ed9c (plain)
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
.assembly extern mscorlib
{
  .ver 0:0:0:0
}
.assembly 'vtable'
{
  .hash algorithm 0x00008004
  .ver  0:0:0:0 
}

.class private auto ansi beforefieldinit X
  	extends [mscorlib]System.Object
{

    .method public hidebysig  specialname  rtspecialname 
           instance default void .ctor()  cil managed 
    {
	.maxstack 8

	 ldarg.0 
	 call instance void valuetype [mscorlib]System.Object::.ctor()
	 ret 
    }

    .method private static 
           default int32 foo()  cil managed 
    {
	.maxstack 4
	.locals init (
		object	V_0)

	 	ldc.i4.5 
	 	box [mscorlib]System.Int32
	 	stloc.0 
	 	ldloc.0 
	 	ldloc.0 
		callvirt instance bool valuetype [mscorlib]System.Object::Equals(object)
		ldc.i4.0
		ceq
		ret 
    }

    .method private static 
           default int32 Main()  cil managed 
    {
	.entrypoint
	.maxstack 8
    	
		ldftn instance bool [mscorlib]System.Int32::Equals(object)
	    pop
		call int32 class X::foo()
		ret 
    }
}