summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Methodical/VT/identity/volatile.il
blob: c2b0cf24fc59134cb3a0826de615e567590f4756 (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
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.





.assembly extern mscorlib { }
.assembly extern System.Console
{
  .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
  .ver 4:0:0:0
}
.assembly bug // // as "bug"
{
}
.module bug.exe
// MVID: {A29CDE84-6701-43B3-B56A-DE8480CE7421}
.namespace JitTest
{
  .class value private auto ansi sealed VT extends [mscorlib]System.ValueType
  {
  	.field public int32 m_n
    .method private hidebysig static int32 Main() il managed
    {
		.entrypoint
		.maxstack  8
		.locals (value class JitTest.VT src, value class JitTest.VT dst)
		ldloca src
		initobj JitTest.VT
		ldloc src
		ldloca src
		ldc.i4 1000
		stfld int32 JitTest.VT::m_n
		stloc dst
		ldloca dst
		ldfld int32 JitTest.VT::m_n
		dup
		call void [System.Console]System.Console::WriteLine(int32)
		ldc.i4 100
		add
		ret
    } // end of method VT::Main

  } // end of class VT

} // end of namespace JitTest

//*********** DISASSEMBLY COMPLETE ***********************