RJIT: Update type information on setn insn

This commit is contained in:
Takashi Kokubun 2023-04-02 23:07:58 -07:00
parent 50285d2864
commit be4e16bc1a

View File

@ -1230,6 +1230,9 @@ module RubyVM::RJIT
asm.mov(:rax, top_val)
asm.mov(dst_opnd, :rax)
mapping = ctx.get_opnd_mapping(StackOpnd[0])
ctx.set_opnd_mapping(StackOpnd[n], mapping)
KeepCompiling
end