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

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


using System;

namespace Mono.ILASM {

        public abstract class IInstr {

		public readonly Location Location;

		/// <summary>
		/// </summary>
		/// <param name="opcode"></param>
		public IInstr (Location loc)
		{
			this.Location = (Location) loc.Clone ();
		}

                /// <summary>
                ///  Add this instruction to the supplied codebuffer
                /// </summary>
                public abstract void Emit (CodeGen code_gen, MethodDef meth, 
					   PEAPI.CILInstructions cil);
        }

}