AILOpCode.cs 338 B

12345678910111213141516171819
  1. using System.Reflection.Emit;
  2. namespace ChocolArm64.Translation
  3. {
  4. struct AILOpCode : IAILEmit
  5. {
  6. private OpCode ILOp;
  7. public AILOpCode(OpCode ILOp)
  8. {
  9. this.ILOp = ILOp;
  10. }
  11. public void Emit(AILEmitter Context)
  12. {
  13. Context.Generator.Emit(ILOp);
  14. }
  15. }
  16. }