diff options
Diffstat (limited to 'lib/ruby_vm/mjit/exit_compiler.rb')
-rw-r--r-- | lib/ruby_vm/mjit/exit_compiler.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ruby_vm/mjit/exit_compiler.rb b/lib/ruby_vm/mjit/exit_compiler.rb index 7f5219ea5b..c9f2190931 100644 --- a/lib/ruby_vm/mjit/exit_compiler.rb +++ b/lib/ruby_vm/mjit/exit_compiler.rb @@ -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 |