From: Cherry Zhang Date: Mon, 26 Apr 2021 18:30:00 +0000 (-0400) Subject: runtime: fix offset in comment X-Git-Tag: go1.17beta1~449 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8ff1da0b8182667560ed6bd3079ad7692e5c722b;p=gostls13.git 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 --- diff --git a/src/runtime/sys_windows_amd64.s b/src/runtime/sys_windows_amd64.s index 72ced3cd1c..ed44561084 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