2018-10-30 21:43:02 -04:00
|
|
|
using System.Reflection.Emit;
|
|
|
|
|
|
|
|
namespace ChocolArm64.Translation
|
|
|
|
{
|
|
|
|
struct ILOpCode : IILEmit
|
|
|
|
{
|
|
|
|
private OpCode _ilOp;
|
|
|
|
|
|
|
|
public ILOpCode(OpCode ilOp)
|
|
|
|
{
|
|
|
|
_ilOp = ilOp;
|
|
|
|
}
|
|
|
|
|
2018-12-10 19:58:52 -05:00
|
|
|
public void Emit(ILMethodBuilder context)
|
2018-10-30 21:43:02 -04:00
|
|
|
{
|
|
|
|
context.Generator.Emit(_ilOp);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|