diff options
author | Takashi Kokubun <[email protected]> | 2022-12-31 14:14:53 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-03-05 22:11:20 -0800 |
commit | 2b8d1c93ea4d44fba5997901fc4a50b9436bc8b5 (patch) | |
tree | e9fe187e757157932a388acf9cae43a6a4c09d21 /lib/ruby_vm/mjit/insn_compiler.rb | |
parent | d7dba4c51066eb706987356ad6b862a0b60b1aeb (diff) |
Support extended registers
and move argument registers to a couple of them.
Diffstat (limited to 'lib/ruby_vm/mjit/insn_compiler.rb')
-rw-r--r-- | lib/ruby_vm/mjit/insn_compiler.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/ruby_vm/mjit/insn_compiler.rb b/lib/ruby_vm/mjit/insn_compiler.rb index 4c4c86c5f0..96bab0a225 100644 --- a/lib/ruby_vm/mjit/insn_compiler.rb +++ b/lib/ruby_vm/mjit/insn_compiler.rb @@ -1,7 +1,4 @@ module RubyVM::MJIT - # ec: rdi - # cfp: rsi - # sp: rbx # scratch regs: rax # # 4/101 @@ -123,6 +120,8 @@ module RubyVM::MJIT # Restore callee-saved registers asm.pop(SP) + asm.pop(EC) + asm.pop(CFP) asm.ret EndBlock |