diff --git a/tvix/eval/src/opcode.rs b/tvix/eval/src/opcode.rs index 4a4d47045..7d2de537d 100644 --- a/tvix/eval/src/opcode.rs +++ b/tvix/eval/src/opcode.rs @@ -54,6 +54,7 @@ pub enum OpCode { // `with`-handling OpPushWith(usize), + OpPopWith, // Lists OpList(usize), diff --git a/tvix/eval/src/vm.rs b/tvix/eval/src/vm.rs index 66126881a..8a6959114 100644 --- a/tvix/eval/src/vm.rs +++ b/tvix/eval/src/vm.rs @@ -282,6 +282,9 @@ impl VM { } OpCode::OpPushWith(idx) => self.with_stack.push(idx), + OpCode::OpPopWith => { + self.with_stack.pop(); + } } #[cfg(feature = "disassembler")]