summaryrefslogtreecommitdiff
path: root/lib/ruby_vm
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2024-06-05 00:28:47 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2024-06-05 00:29:17 -0700
commite0fe6f70170924397b957d6cfa84774592b1c809 (patch)
tree1004de69289bfbf130b32a4b5e8fd7a77a9aba6c /lib/ruby_vm
parent06f470ce66be24f82d3720dd2bb08b18b16753ac (diff)
merge revision(s) f8abd24b1f28998157da1230b231419ef7b81722: [Backport #20522]
Improve YJIT performance warning regression test [Bug #20522]
Diffstat (limited to 'lib/ruby_vm')
-rw-r--r--lib/ruby_vm/rjit/insn_compiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ruby_vm/rjit/insn_compiler.rb b/lib/ruby_vm/rjit/insn_compiler.rb
index c3a3e31f24..289963d855 100644
--- a/lib/ruby_vm/rjit/insn_compiler.rb
+++ b/lib/ruby_vm/rjit/insn_compiler.rb
@@ -503,7 +503,7 @@ module RubyVM::RJIT
shape = C.rb_shape_get_shape_by_id(shape_id)
current_capacity = shape.capacity
- dest_shape = C.rb_shape_get_next(shape, comptime_receiver, ivar_name)
+ dest_shape = C.rb_shape_get_next_no_warnings(shape, comptime_receiver, ivar_name)
new_shape_id = C.rb_shape_id(dest_shape)
if new_shape_id == C::OBJ_TOO_COMPLEX_SHAPE_ID