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

SimpInstr.cs « codegen « ilasm « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 026a10790694e295e32432436fa8d8d3a21ed0e4 (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
//
// Mono.ILASM.SimpInstr
//
// Author(s):
//  Jackson Harper (Jackson@LatitudeGeo.com)
//
// (C) 2003 Jackson Harper, All rights reserved
//


using System;

namespace Mono.ILASM {

        public class SimpInstr : IInstr {

                private PEAPI.Op op;

                public SimpInstr (PEAPI.Op op, Location loc)
			: base (loc)
                {
                        this.op = op;
                }

                public override void Emit (CodeGen code_gen, MethodDef meth, 
					   PEAPI.CILInstructions cil)
                {
                        cil.Inst (op);
                }

        }

}