Support extended registers

and move argument registers to a couple of them.
This commit is contained in:
Takashi Kokubun 2022-12-31 14:14:53 -08:00
parent d7dba4c510
commit 2b8d1c93ea
4 changed files with 127 additions and 54 deletions

View file

@ -26,6 +26,8 @@ module RubyVM::MJIT
# Restore callee-saved registers
asm.pop(SP)
asm.pop(EC)
asm.pop(CFP)
asm.mov(:rax, Qundef)
asm.ret