diff options
| author | Keith Randall <khr@golang.org> | 2025-02-25 14:21:42 -0800 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2025-02-26 14:48:55 -0800 |
| commit | c594762ad5289c0ea5e1cb63675acf7350c2503e (patch) | |
| tree | 4734882faeba82a2244f77f308129abcae4d9d58 /src/runtime/runtime2.go | |
| parent | 2e71ae33ca3339cc2f7554ec6a8a39c5938f1001 (diff) | |
| download | go-c594762ad5289c0ea5e1cb63675acf7350c2503e.tar.xz | |
runtime: remove ret field from gobuf
It's not used for anything.
Change-Id: I031b3cdfe52b6b1cff4b3cb6713ffe588084542f
Reviewed-on: https://go-review.googlesource.com/c/go/+/652276
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/runtime2.go')
| -rw-r--r-- | src/runtime/runtime2.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/runtime/runtime2.go b/src/runtime/runtime2.go index 7280643f48..b8579d9599 100644 --- a/src/runtime/runtime2.go +++ b/src/runtime/runtime2.go @@ -312,7 +312,6 @@ type gobuf struct { pc uintptr g guintptr ctxt unsafe.Pointer - ret uintptr lr uintptr bp uintptr // for framepointer-enabled architectures } @@ -528,8 +527,7 @@ const ( type m struct { g0 *g // goroutine with scheduling stack morebuf gobuf // gobuf arg to morestack - divmod uint32 // div/mod denominator for arm - known to liblink - _ uint32 // align next field to 8 bytes + divmod uint32 // div/mod denominator for arm - known to liblink (cmd/internal/obj/arm/obj5.go) // Fields not known to debuggers. procid uint64 // for debuggers, but offset not hard-coded |
