diff options
author | Jean Boussier <[email protected]> | 2024-06-04 19:39:17 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2024-06-05 09:22:15 +0200 |
commit | f8abd24b1f28998157da1230b231419ef7b81722 (patch) | |
tree | e90f1830f72aba7da7bdd752d1946906d4b1952a /lib/ruby_vm | |
parent | f567633a16b754e50593d0c0864dd6a52f6c8306 (diff) |
Improve YJIT performance warning regression test
[Bug #20522]
Diffstat (limited to 'lib/ruby_vm')
-rw-r--r-- | lib/ruby_vm/rjit/insn_compiler.rb | 2 |
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 f9450241c9..9e4b28f87a 100644 --- a/lib/ruby_vm/rjit/insn_compiler.rb +++ b/lib/ruby_vm/rjit/insn_compiler.rb @@ -504,7 +504,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 |