diff options
| author | Keith Randall <khr@golang.org> | 2025-07-01 15:00:13 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2025-07-24 16:24:50 -0700 |
| commit | 6f6c6c5782a0e4e7448d10a98b417e8479a780ee (patch) | |
| tree | 96bf567710a6ca6ec70b4cfadc2b305f4c0fa52c /src/runtime/panic.go | |
| parent | 7b5002433026cd1b0d99859bb76af12ec7ced54b (diff) | |
| download | go-6f6c6c5782a0e4e7448d10a98b417e8479a780ee.tar.xz | |
cmd/internal/obj: rip out argp adjustment for wrapper frames
The previous CL made this adjustment unnecessary. The argp field
is no longer used by the runtime.
Change-Id: I3491eeef4103c6653ec345d604c0acd290af9e8f
Reviewed-on: https://go-review.googlesource.com/c/go/+/685356
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Diffstat (limited to 'src/runtime/panic.go')
| -rw-r--r-- | src/runtime/panic.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/runtime/panic.go b/src/runtime/panic.go index ebb6405c3d..1e61c90aef 100644 --- a/src/runtime/panic.go +++ b/src/runtime/panic.go @@ -959,10 +959,6 @@ func (p *_panic) nextDefer() (func(), bool) { } } - // The assembler adjusts p.argp in wrapper functions that shouldn't - // be visible to recover(), so we need to restore it each iteration. - p.argp = add(p.startSP, sys.MinFrameSize) - for { for p.deferBitsPtr != nil { bits := *p.deferBitsPtr |
