diff options
author | Russ Cox <rsc@golang.org> | 2021-02-15 11:26:58 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2021-02-19 00:41:17 +0000 |
commit | b110a43628526787f73db44e11829520d92e5b2b (patch) | |
tree | 8018591632cea4dcf260cabd612b256aa2c6338f /src/runtime/proc.go | |
parent | 474d5f4f4d0547d1c6d7a14f1ba02afffc4725d4 (diff) | |
download | go-b110a43628526787f73db44e11829520d92e5b2b.tar.gz go-b110a43628526787f73db44e11829520d92e5b2b.zip |
runtime: delete gosave (dead code)
Change-Id: Ie811526534df8622d89c5b1b81dbe19ece1c962b
Reviewed-on: https://go-review.googlesource.com/c/go/+/292110
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r-- | src/runtime/proc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go index ccfe085691..dbb430fd25 100644 --- a/src/runtime/proc.go +++ b/src/runtime/proc.go @@ -3482,7 +3482,7 @@ func save(pc, sp uintptr) { // This is called only from the go syscall library and cgocall, // not from the low-level system calls used by the runtime. // -// Entersyscall cannot split the stack: the gosave must +// Entersyscall cannot split the stack: the save must // make g->sched refer to the caller's stack segment, because // entersyscall is going to return immediately after. // |