aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Translation/ILOpCode.cs
blob: eb91639e63a363906acd649912302eee23823c25 (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(ILEmitter context)
        {
            context.Generator.Emit(_ilOp);
        }
    }
}