Fix bug #534965.
[mcs.git] / ilasm / codegen / SimpInstr.cs
blob026a10790694e295e32432436fa8d8d3a21ed0e4
1 //
2 // Mono.ILASM.SimpInstr
3 //
4 // Author(s):
5 // Jackson Harper (Jackson@LatitudeGeo.com)
6 //
7 // (C) 2003 Jackson Harper, All rights reserved
8 //
11 using System;
13 namespace Mono.ILASM {
15 public class SimpInstr : IInstr {
17 private PEAPI.Op op;
19 public SimpInstr (PEAPI.Op op, Location loc)
20 : base (loc)
22 this.op = op;
25 public override void Emit (CodeGen code_gen, MethodDef meth,
26 PEAPI.CILInstructions cil)
28 cil.Inst (op);