diff options
Diffstat (limited to 'lib/ruby_vm/rjit/insn_compiler.rb')
-rw-r--r-- | lib/ruby_vm/rjit/insn_compiler.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ruby_vm/rjit/insn_compiler.rb b/lib/ruby_vm/rjit/insn_compiler.rb index 0c426fe364..b877b2f7aa 100644 --- a/lib/ruby_vm/rjit/insn_compiler.rb +++ b/lib/ruby_vm/rjit/insn_compiler.rb @@ -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 |