aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Translation/AILOpCode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ChocolArm64/Translation/AILOpCode.cs')
-rw-r--r--ChocolArm64/Translation/AILOpCode.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChocolArm64/Translation/AILOpCode.cs b/ChocolArm64/Translation/AILOpCode.cs
new file mode 100644
index 00000000..a4bc93a0
--- /dev/null
+++ b/ChocolArm64/Translation/AILOpCode.cs
@@ -0,0 +1,19 @@
+using System.Reflection.Emit;
+
+namespace ChocolArm64.Translation
+{
+ struct AILOpCode : IAILEmit
+ {
+ private OpCode ILOp;
+
+ public AILOpCode(OpCode ILOp)
+ {
+ this.ILOp = ILOp;
+ }
+
+ public void Emit(AILEmitter Context)
+ {
+ Context.Generator.Emit(ILOp);
+ }
+ }
+} \ No newline at end of file