]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix offset in comment
authorCherry Zhang <cherryyz@google.com>
Mon, 26 Apr 2021 18:30:00 +0000 (14:30 -0400)
committerCherry Zhang <cherryyz@google.com>
Mon, 26 Apr 2021 18:42:12 +0000 (18:42 +0000)
Change-Id: I2770195cb53220948081a6265f891ef064e4f763
Reviewed-on: https://go-review.googlesource.com/c/go/+/313629
Trust: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/runtime/sys_windows_amd64.s

index 72ced3cd1c1afcd8b4867c9e054c8a3de35f639f..ed4456108406a156674ef7262eac17665c84d67d 100644 (file)
@@ -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