aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Cpu/LightningJit/Arm32/InstInfo.cs
blob: 80481ec6956af8e31b02f906825cc16fc0228f4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;

namespace Ryujinx.Cpu.LightningJit.Arm32
{
    readonly struct InstInfo
    {
        public readonly uint Encoding;
        public readonly InstName Name;
        public readonly Action<CodeGenContext, uint> EmitFunc;
        public readonly InstFlags Flags;

        public InstInfo(uint encoding, InstName name, Action<CodeGenContext, uint> emitFunc, InstFlags flags)
        {
            Encoding = encoding;
            Name = name;
            EmitFunc = emitFunc;
            Flags = flags;
        }
    }
}