diff options
Diffstat (limited to 'tvix/eval/src/opcode.rs')
-rw-r--r-- | tvix/eval/src/opcode.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tvix/eval/src/opcode.rs b/tvix/eval/src/opcode.rs index 307b695f6d9b..0aa252c4cc08 100644 --- a/tvix/eval/src/opcode.rs +++ b/tvix/eval/src/opcode.rs @@ -17,9 +17,13 @@ pub enum OpCode { OpTrue, OpFalse, - // Simple binary operators + // Arithmetic binary operators OpAdd, OpSub, OpMul, OpDiv, + + // Unary operators + OpInvert, + OpNegate, } |