summaryrefslogtreecommitdiff
path: root/coroutine/amd64
diff options
context:
space:
mode:
authorsamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:17:00 +0000
committersamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:17:00 +0000
commit83c84182ad03c79200765a43f6cc9b8d5b8abd33 (patch)
tree6c9e4eb0b14bd25079ccc0b3d715081a3698891b /coroutine/amd64
parent9481461cc338d410e25163638af484c38317029e (diff)
downloadruby-83c84182ad03c79200765a43f6cc9b8d5b8abd33.tar.gz
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.s10
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