diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2021-09-21 14:05:57 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2021-09-27 20:58:49 +0000 |
| commit | 61a0a701135e38c48131ea18925dc5b027cc3a3c (patch) | |
| tree | 497cc54a1da625530c45b5a9e4f5b0e46be865da /src/runtime/runtime2.go | |
| parent | 6c163e5ac9cdb258566f1287de7915a2fd30a0de (diff) | |
| download | go-61a0a701135e38c48131ea18925dc5b027cc3a3c.tar.xz | |
runtime: convert _func.entry to a method
A subsequent change will alter the semantics of _func.entry.
To make that change obvious and clear, change _func.entry to a method,
and rename the field to _func.entryPC.
Change-Id: I05d66b54d06c5956d4537b0729ddf4290c3e2635
Reviewed-on: https://go-review.googlesource.com/c/go/+/351460
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 442042eb16..8188872ae8 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -858,7 +858,7 @@ const ( // Keep in sync with linker (../cmd/link/internal/ld/pcln.go:/pclntab) // and with package debug/gosym and with symtab.go in package runtime. type _func struct { - entry uintptr // start pc + entryPC uintptr // start pc nameoff int32 // function name args int32 // in/out args size |
