RJIT: Initial support of splat

This commit is contained in:
Takashi Kokubun 2023-03-21 22:55:23 -07:00
parent 466aa8010f
commit 1dd65f7c55
5 changed files with 157 additions and 9 deletions

View file

@ -449,6 +449,10 @@ module RubyVM::RJIT
def jne(dst)
case dst
# JNE rel8
in Label => dst_label
# 75 cb
insn(opcode: 0x75, imm: dst_label)
# JNE rel32
in Integer => dst_addr
# 0F 85 cd