diff options
Diffstat (limited to 'src/Ryujinx.Cpu/LightningJit/Arm32/InstInfo.cs')
| -rw-r--r-- | src/Ryujinx.Cpu/LightningJit/Arm32/InstInfo.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Ryujinx.Cpu/LightningJit/Arm32/InstInfo.cs b/src/Ryujinx.Cpu/LightningJit/Arm32/InstInfo.cs new file mode 100644 index 00000000..80481ec6 --- /dev/null +++ b/src/Ryujinx.Cpu/LightningJit/Arm32/InstInfo.cs @@ -0,0 +1,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; + } + } +} |
