about summary refs log tree commit diff
path: root/tvix/eval/src/opcode.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-17T16·10+0300
committertazjin <tazjin@tvl.su>2022-09-17T18·58+0000
commitda9e885e06664c2dcd0e76034495970591640ded (patch)
tree28d0523aafbfb5395976789b958823f1df1788f6 /tvix/eval/src/opcode.rs
parent337d626f0024fe0aa732acf6c0f595a327f2a468 (diff)
refactor(tvix/eval): rename OpAttrsIsSet -> OpHasAttr r/4890
This matches the name of the AST node from which it was compiled.
Suggested by sterni in cl/6231

Change-Id: Ia51525158d2f47467c01fce2282005b1a8417a47
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6623
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: grfn <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src/opcode.rs')
-rw-r--r--tvix/eval/src/opcode.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/opcode.rs b/tvix/eval/src/opcode.rs
index 706aceac8357..9d7fba9ee453 100644
--- a/tvix/eval/src/opcode.rs
+++ b/tvix/eval/src/opcode.rs
@@ -91,7 +91,7 @@ pub enum OpCode {
     OpAttrsUpdate,
     OpAttrsSelect,
     OpAttrsTrySelect,
-    OpAttrsIsSet,
+    OpHasAttr,
 
     // `with`-handling
     OpPushWith(StackIdx),