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>
This commit is contained in:
Russ Cox 2021-02-15 11:26:58 -05:00
parent 474d5f4f4d
commit b110a43628
5 changed files with 5 additions and 4 deletions

View file

@ -1089,7 +1089,7 @@ func nilfunc() {
}
// adjust Gobuf as if it executed a call to fn
// and then did an immediate gosave.
// and then stopped before the first instruction in fn.
func gostartcallfn(gobuf *gobuf, fv *funcval) {
var fn unsafe.Pointer
if fv != nil {