Implement method call

This commit is contained in:
Takashi Kokubun 2023-02-03 22:42:13 -08:00
parent fa0b9c1c97
commit e731ced271
12 changed files with 308 additions and 81 deletions

View file

@ -26,6 +26,8 @@ module RubyVM::MJIT
# @param ocb [CodeBlock]
def compile_leave_exit(asm)
asm.comment('default cfp->jit_return')
# Restore callee-saved registers
asm.pop(SP)
asm.pop(EC)