aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_wasm.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2021-02-15 11:26:58 -0500
committerRuss Cox <rsc@golang.org>2021-02-19 00:41:17 +0000
commitb110a43628526787f73db44e11829520d92e5b2b (patch)
tree8018591632cea4dcf260cabd612b256aa2c6338f /src/runtime/sys_wasm.go
parent474d5f4f4d0547d1c6d7a14f1ba02afffc4725d4 (diff)
downloadgo-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/sys_wasm.go')
-rw-r--r--src/runtime/sys_wasm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/sys_wasm.go b/src/runtime/sys_wasm.go
index 3ed621f92e..057ed4ccd9 100644
--- a/src/runtime/sys_wasm.go
+++ b/src/runtime/sys_wasm.go
@@ -27,7 +27,7 @@ func wasmTruncU()
func wasmExit(code int32)
// adjust Gobuf as it if executed a call to fn with context ctxt
-// and then did an immediate gosave.
+// and then stopped before the first instruction in fn.
func gostartcall(buf *gobuf, fn, ctxt unsafe.Pointer) {
sp := buf.sp
sp -= sys.PtrSize