diff options
| author | Youlin Feng <fengyoulin@live.com> | 2025-10-31 10:45:26 +0800 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2025-11-03 09:26:36 -0800 |
| commit | 361d51a6b58bccaab0559e06737c918018a7a5fa (patch) | |
| tree | 8ba94fd5f0642a8e23caa852881c68bd42b74954 /src/bytes/buffer.go | |
| parent | 00ee1860ce877ec9e2e323d7e48dee083e0902bd (diff) | |
| download | go-361d51a6b58bccaab0559e06737c918018a7a5fa.tar.xz | |
runtime: remove the pc field of _defer struct
Since we always can get the address of `CALL runtime.deferreturn(SB)`
from the unwinder, so it is not necessary to record the caller's pc
in the _defer struct. For the stack allocated _defer, this CL makes
the frame smaller.
Change-Id: I0fd347e4bc07cf8a9b954816323df30fc52552b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/716720
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/bytes/buffer.go')
0 files changed, 0 insertions, 0 deletions
