1
0
mirror of https://github.com/golang/go synced 2024-11-26 05:07:59 -07:00

runtime: fix offset in comment

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>
This commit is contained in:
Cherry Zhang 2021-04-26 14:30:00 -04:00
parent 14ade57ab8
commit 8ff1da0b81

View 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