about summary refs log tree commit diff
path: root/tvix/eval/src/compiler/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/eval/src/compiler/mod.rs')
-rw-r--r--tvix/eval/src/compiler/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/src/compiler/mod.rs b/tvix/eval/src/compiler/mod.rs
index a7e5ceb32a..d40cb1e14e 100644
--- a/tvix/eval/src/compiler/mod.rs
+++ b/tvix/eval/src/compiler/mod.rs
@@ -429,7 +429,7 @@ impl Compiler {
         // next nested element, for all fragments except the last one.
         for (count, fragment) in node.attrpath().unwrap().attrs().enumerate() {
             if count > 0 {
-                self.chunk().push_op(OpCode::OpAttrOrNotFound);
+                self.chunk().push_op(OpCode::OpAttrsTrySelect);
             }
 
             self.compile_attr(fragment);
@@ -616,7 +616,7 @@ impl Compiler {
 
         for fragment in path.attrs() {
             self.compile_attr(fragment);
-            self.chunk().push_op(OpCode::OpAttrOrNotFound);
+            self.chunk().push_op(OpCode::OpAttrsTrySelect);
             jumps.push(self.chunk().push_op(OpCode::OpJumpIfNotFound(0)));
         }