summaryrefslogtreecommitdiff
path: root/yjit
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2022-09-30 17:08:44 -0700
committerJohn Hawthorn <john@hawthorn.email>2022-09-30 17:26:27 -0700
commit70538beaa9a16afa4e2d54ba36fcedffa93f8fbf (patch)
tree2f5f3954c48244955934e6eeb739786e38226ec6 /yjit
parent1143fe340a99b5d07d0897ea8709bb4cc55b8c02 (diff)
Fix YJIT args for rb_vm_set_ivar_idx
This was broken accidentally with the revert of shapes (it conflicted with some unrelated cleanup).
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6479
Diffstat (limited to 'yjit')
-rw-r--r--yjit/src/codegen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/codegen.rs b/yjit/src/codegen.rs
index 52d39370c4..42ec05aafc 100644
--- a/yjit/src/codegen.rs
+++ b/yjit/src/codegen.rs
@@ -1945,7 +1945,7 @@ fn gen_set_ivar(
rb_vm_set_ivar_idx as *const u8,
vec![
recv_opnd,
- Opnd::UImm(ivar_name),
+ ivar_index.into(),
val_opnd,
],
);