Delete newarraykwsplat

The pushtoarraykwsplat instruction was designed to replace newarraykwsplat,
and we now meet the condition for deletion mentioned in
77c1233f79.
This commit is contained in:
Alan Wu 2024-08-13 16:56:35 -04:00 committed by GitHub
parent b80b839926
commit 525008cd78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
Notes: git 2024-08-13 20:56:55 +00:00
Merged: https://github.com/ruby/ruby/pull/11371

Merged-By: XrXr
3 changed files with 187 additions and 212 deletions

View file

@ -63,7 +63,6 @@ module RubyVM::RJIT
when :toregexp then toregexp(jit, ctx, asm)
when :intern then intern(jit, ctx, asm)
when :newarray then newarray(jit, ctx, asm)
# newarraykwsplat
when :duparray then duparray(jit, ctx, asm)
# duphash
when :expandarray then expandarray(jit, ctx, asm)
@ -944,8 +943,6 @@ module RubyVM::RJIT
KeepCompiling
end
# newarraykwsplat
# @param jit [RubyVM::RJIT::JITState]
# @param ctx [RubyVM::RJIT::Context]
# @param asm [RubyVM::RJIT::Assembler]