]> Cypherpunks repositories - gostls13.git/commit
runtime: convert _func.entry to a method
authorJosh Bleecher Snyder <josharian@gmail.com>
Tue, 21 Sep 2021 21:05:57 +0000 (14:05 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Mon, 27 Sep 2021 20:58:49 +0000 (20:58 +0000)
commit61a0a701135e38c48131ea18925dc5b027cc3a3c
tree497cc54a1da625530c45b5a9e4f5b0e46be865da
parent6c163e5ac9cdb258566f1287de7915a2fd30a0de
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>
12 files changed:
src/cmd/compile/internal/test/inl_test.go
src/runtime/debugcall.go
src/runtime/debuglog.go
src/runtime/heapdump.go
src/runtime/panic.go
src/runtime/plugin.go
src/runtime/preempt.go
src/runtime/print.go
src/runtime/runtime2.go
src/runtime/stack.go
src/runtime/symtab.go
src/runtime/traceback.go