diff options
author | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:17:00 +0000 |
---|---|---|
committer | samuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-20 10:17:00 +0000 |
commit | 83c84182ad03c79200765a43f6cc9b8d5b8abd33 (patch) | |
tree | 6c9e4eb0b14bd25079ccc0b3d715081a3698891b /coroutine/amd64 | |
parent | 9481461cc338d410e25163638af484c38317029e (diff) |
Formatting changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine/amd64')
-rw-r--r-- | coroutine/amd64/Context.s | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/coroutine/amd64/Context.s b/coroutine/amd64/Context.s index e23f87de85..0c4296035e 100644 --- a/coroutine/amd64/Context.s +++ b/coroutine/amd64/Context.s @@ -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 |