summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Bernstein <ruby@bernsteinbear.com>2025-07-11 11:11:31 -0400
committerMax Bernstein <tekknolagi@gmail.com>2025-07-11 12:30:46 -0400
commite53bfe217e84cfdcc79e5516ba2bd988c2a2f852 (patch)
treede65fb59f7608efef19d1cb29374da34a9b08b43
parent0d7d87b40f79c10016b27d608892ebbe069295eb (diff)
ZJIT: Fix missing find!() for SetIvar
-rw-r--r--zjit/src/hir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zjit/src/hir.rs b/zjit/src/hir.rs
index 85b2faed60..96e061e6da 100644
--- a/zjit/src/hir.rs
+++ b/zjit/src/hir.rs
@@ -1163,7 +1163,7 @@ impl Function {
ArrayMax { elements, state } => ArrayMax { elements: find_vec!(*elements), state: find!(*state) },
&SetGlobal { id, val, state } => SetGlobal { id, val: find!(val), state },
&GetIvar { self_val, id, state } => GetIvar { self_val: find!(self_val), id, state },
- &SetIvar { self_val, id, val, state } => SetIvar { self_val: find!(self_val), id, val, state },
+ &SetIvar { self_val, id, val, state } => SetIvar { self_val: find!(self_val), id, val: find!(val), state },
&SetLocal { val, ep_offset, level } => SetLocal { val: find!(val), ep_offset, level },
&ToArray { val, state } => ToArray { val: find!(val), state },
&ToNewArray { val, state } => ToNewArray { val: find!(val), state },