aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2022-11-03 15:39:41 +0800
committerGopher Robot <gobot@golang.org>2022-11-07 19:48:30 +0000
commit969bea8d59daa6bdd478b71f6e99d8b8f625a140 (patch)
tree6cdfdb01c9a633fd897924568ca3565fec2b0f95 /src/runtime/stack.go
parent72ce9ba9cb640f1a2184389d1dc146d731882328 (diff)
downloadgo-969bea8d59daa6bdd478b71f6e99d8b8f625a140.tar.xz
runtime: fix a few function names on comments
Change-Id: I9ef4898d68dfd06618c0bd8e23f81a1d2c77a836 Signed-off-by: cui fliter <imcusg@gmail.com> Reviewed-on: https://go-review.googlesource.com/c/go/+/447460 Auto-Submit: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> Run-TryBot: Michael Pratt <mpratt@google.com>
Diffstat (limited to 'src/runtime/stack.go')
-rw-r--r--src/runtime/stack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go
index 87d8e519bd..546f997881 100644
--- a/src/runtime/stack.go
+++ b/src/runtime/stack.go
@@ -564,7 +564,7 @@ type adjustinfo struct {
sghi uintptr
}
-// Adjustpointer checks whether *vpp is in the old stack described by adjinfo.
+// adjustpointer checks whether *vpp is in the old stack described by adjinfo.
// If so, it rewrites *vpp to point into the new stack.
func adjustpointer(adjinfo *adjustinfo, vpp unsafe.Pointer) {
pp := (*uintptr)(vpp)