R/ChocolArm64/Translation/ILOpCode.cs

19 lines
338 B
C#
Raw Normal View History

using System.Reflection.Emit;
namespace ChocolArm64.Translation
{
struct ILOpCode : IILEmit
{
private OpCode _ilOp;
public ILOpCode(OpCode ilOp)
{
_ilOp = ilOp;
}
public void Emit(ILMethodBuilder context)
{
context.Generator.Emit(_ilOp);
}
}
}