aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_windows_amd64.s
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2023-03-23 14:18:19 -0400
committerMichael Pratt <mpratt@google.com>2023-03-23 20:52:57 +0000
commitb0dfcb74651b82123746273bbf6bb9988cd96e18 (patch)
tree738c8a064cb8d614bd75fbb502b04e08b5dcb615 /src/runtime/sys_windows_amd64.s
parent7b887158825720134181b6fe403066eee0cccee3 (diff)
downloadgo-b0dfcb74651b82123746273bbf6bb9988cd96e18.tar.xz
all: replace leading spaces with tabs in assembly
Most of these are one-off mistakes. Only one file was all spaces. Change-Id: I277c3ce4a4811aa4248c90676f66bc775ae8d062 Reviewed-on: https://go-review.googlesource.com/c/go/+/478976 Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/sys_windows_amd64.s')
-rw-r--r--src/runtime/sys_windows_amd64.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/runtime/sys_windows_amd64.s b/src/runtime/sys_windows_amd64.s
index 367cb2ba76..ecbe8d3329 100644
--- a/src/runtime/sys_windows_amd64.s
+++ b/src/runtime/sys_windows_amd64.s
@@ -151,15 +151,15 @@ TEXT runtimeĀ·callbackasm1(SB),NOSPLIT|NOFRAME,$0
// In any case, even if function has 0,1,2,3,4 args, there is reserved
// but uninitialized "shadow space" for the first 4 args.
// The values are in registers.
- MOVQ CX, (16+0)(SP)
- MOVQ DX, (16+8)(SP)
- MOVQ R8, (16+16)(SP)
- MOVQ R9, (16+24)(SP)
+ MOVQ CX, (16+0)(SP)
+ MOVQ DX, (16+8)(SP)
+ MOVQ R8, (16+16)(SP)
+ MOVQ R9, (16+24)(SP)
// R8 = address of args vector
LEAQ (16+0)(SP), R8
// remove return address from stack, we are not returning to callbackasm, but to its caller.
- MOVQ 0(SP), AX
+ MOVQ 0(SP), AX
ADDQ $8, SP
// determine index into runtimeĀ·cbs table