[interp] Add more Math intrinsics (#19174)
[mono-project.git] / mcs / ilasm / codegen / EmitByteInstr.cs
blobc8fe3996fa586d3865005d10d2e77eb3d626fb65
1 //
2 // Mono.ILASM.EmitByteIntr.cs
3 //
4 // Author(s):
5 // Rodrigo Kumpera (rkumpera@novell.com)
6 //
7 // (C) 2007 Novell, Inc (http://www.novell.com)
8 //
11 using System;
12 using System.Collections;
14 namespace Mono.ILASM {
16 public class EmitByteInstr : IInstr {
18 private int value;
20 public EmitByteInstr (int value, Location loc)
21 : base (loc)
23 this.value = value;
26 public override void Emit (CodeGen code_gen, MethodDef meth,
27 PEAPI.CILInstructions cil)
29 cil.emitbyte ((byte)value);