mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
RJIT: Update type information on setn insn
This commit is contained in:
parent
50285d2864
commit
be4e16bc1a
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue