diff options
Diffstat (limited to 'coroutine/win64')
-rw-r--r-- | coroutine/win64/Context.asm | 4 | ||||
-rw-r--r-- | coroutine/win64/Context.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/coroutine/win64/Context.asm b/coroutine/win64/Context.asm index 6f64547d80..d699bd14ad 100644 --- a/coroutine/win64/Context.asm +++ b/coroutine/win64/Context.asm @@ -16,10 +16,10 @@ coroutine_transfer proc push r13 push r14 push r15 - + ; Save caller stack pointer mov [rcx], rsp - + ; Restore callee stack pointer mov rsp, [rdx] diff --git a/coroutine/win64/Context.h b/coroutine/win64/Context.h index 28173ba789..ec2c0e8566 100644 --- a/coroutine/win64/Context.h +++ b/coroutine/win64/Context.h @@ -58,4 +58,4 @@ inline void coroutine_destroy(coroutine_context * context) #if __cplusplus } -#endif
\ No newline at end of file +#endif |