New test.
[mono.git] / mcs / ilasm / codegen / SimpInstr.cs
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 //
9
10
11 using System;
12
13 namespace Mono.ILASM {
14
15         public class SimpInstr : IInstr {
16
17                 private PEAPI.Op op;
18
19                 public SimpInstr (PEAPI.Op op, Location loc)
20                         : base (loc)
21                 {
22                         this.op = op;
23                 }
24
25                 public override void Emit (CodeGen code_gen, MethodDef meth, 
26                                            PEAPI.CILInstructions cil)
27                 {
28                         cil.Inst (op);
29                 }
30
31         }
32
33 }
34