aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Translation/ILOpCode.cs
blob: 4021603c019cc58311ae26ea5e34cad441443d18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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);
        }
    }
}