aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Translation/ILOpCode.cs
blob: 486452820daaa50b18ac06d7a0d5cd85c3fa1c4d (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
    {
        public OpCode ILOp { get; }

        public ILOpCode(OpCode ilOp)
        {
            ILOp = ilOp;
        }

        public void Emit(ILMethodBuilder context)
        {
            context.Generator.Emit(ILOp);
        }
    }
}