* ILParser.jay: Use type instead of params for calli signatures.
[mono.git] / mcs / ilasm / codegen / IntInstr.cs
1 //
2 // Mono.ILASM.IntInstr
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 IntInstr : IInstr {
16
17                 private PEAPI.IntOp op;
18                 private int operand;
19
20                 public IntInstr (PEAPI.IntOp op, int operand)
21                 {
22                         this.op = op;
23                         this.operand = operand;
24                 }
25
26                 public void Emit (CodeGen code_gen, PEAPI.CILInstructions cil)
27                 {
28                         cil.IntInst (op, operand);
29                 }
30
31         }
32
33 }
34