From 8ff1da0b8182667560ed6bd3079ad7692e5c722b Mon Sep 17 00:00:00 2001 From: Cherry Zhang Date: Mon, 26 Apr 2021 14:30:00 -0400 Subject: [PATCH] runtime: fix offset in comment Change-Id: I2770195cb53220948081a6265f891ef064e4f763 Reviewed-on: https://go-review.googlesource.com/c/go/+/313629 Trust: Cherry Zhang Reviewed-by: Michael Knyszek --- src/runtime/sys_windows_amd64.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/sys_windows_amd64.s b/src/runtime/sys_windows_amd64.s index 72ced3cd1c1..ed445610840 100644 --- a/src/runtime/sys_windows_amd64.s +++ b/src/runtime/sys_windows_amd64.s @@ -148,7 +148,7 @@ TEXT sigtramp<>(SB),NOSPLIT|NOFRAME,$0-0 // and re-save old SP for restoring later. // Adjust g0 stack by the space we're using and // save SP at the same place on the g0 stack. - // The 32(DI) here must match the 32(SP) above. + // The 40(DI) here must match the 40(SP) above. SUBQ $(REGS_HOST_TO_ABI0_STACK + 48), DI MOVQ SP, 40(DI) MOVQ DI, SP