about summary refs log tree commit diff
path: root/tvix/eval/src/opcode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/opcode.rs')
-rw-r--r--tvix/eval/src/opcode.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/tvix/eval/src/opcode.rs b/tvix/eval/src/opcode.rs
index 0aa252c4cc08..a9f7f8904058 100644
--- a/tvix/eval/src/opcode.rs
+++ b/tvix/eval/src/opcode.rs
@@ -17,13 +17,16 @@ pub enum OpCode {
     OpTrue,
     OpFalse,
 
+    // Unary operators
+    OpInvert,
+    OpNegate,
+
     // Arithmetic binary operators
     OpAdd,
     OpSub,
     OpMul,
     OpDiv,
 
-    // Unary operators
-    OpInvert,
-    OpNegate,
+    // Logical binary operators
+    OpEqual,
 }