mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Formatting changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9481461cc3
commit
83c84182ad
7 changed files with 14 additions and 12 deletions
|
@ -21,13 +21,13 @@ _coroutine_transfer:
|
|||
pushq %r13
|
||||
pushq %r14
|
||||
pushq %r15
|
||||
|
||||
|
||||
# Save caller stack pointer
|
||||
movq %rsp, (%rdi)
|
||||
|
||||
|
||||
# Restore callee stack pointer
|
||||
movq (%rsi), %rsp
|
||||
|
||||
|
||||
# Restore callee stack
|
||||
popq %r15
|
||||
popq %r14
|
||||
|
@ -35,9 +35,9 @@ _coroutine_transfer:
|
|||
popq %r12
|
||||
popq %rbx
|
||||
popq %rbp
|
||||
|
||||
|
||||
# Put the first argument into the return value
|
||||
movq %rdi, %rax
|
||||
|
||||
|
||||
# We pop the return address and jump to it
|
||||
ret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue