mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 22:14:37 +02:00
Support extended registers
and move argument registers to a couple of them.
This commit is contained in:
parent
d7dba4c510
commit
2b8d1c93ea
4 changed files with 127 additions and 54 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue