diff options
| author | cui fliter <imcusg@gmail.com> | 2022-09-29 12:46:10 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-09-29 22:58:11 +0000 |
| commit | c69d6d8b3e787e6cd87e0a8a3c726720296462b1 (patch) | |
| tree | 66ffbb2764057471147a2445ac8abccd06a8373b /src/cmd/link | |
| parent | 84c188008e4a2c772308e2b6c74d4c353303d308 (diff) | |
| download | go-c69d6d8b3e787e6cd87e0a8a3c726720296462b1.tar.xz | |
cmd: fix a few function names on comments
Change-Id: Ia0896bd1edf2558821244fecd1c297b599472f47
GitHub-Last-Rev: cfd1e1091a064cdc38469c02c6c013635d7d437b
GitHub-Pull-Request: golang/go#55944
Reviewed-on: https://go-review.googlesource.com/c/go/+/436637
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/link')
| -rw-r--r-- | src/cmd/link/internal/wasm/asm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/link/internal/wasm/asm.go b/src/cmd/link/internal/wasm/asm.go index 041b4e2780..0aa065f99d 100644 --- a/src/cmd/link/internal/wasm/asm.go +++ b/src/cmd/link/internal/wasm/asm.go @@ -412,7 +412,7 @@ func writeElementSec(ctxt *ld.Link, numImports, numFns uint64) { writeSecSize(ctxt, sizeOffset) } -// writeElementSec writes the section that provides the function bodies for the functions +// writeCodeSec writes the section that provides the function bodies for the functions // declared by the "func" section. func writeCodeSec(ctxt *ld.Link, fns []*wasmFunc) { sizeOffset := writeSecHeader(ctxt, sectionCode) |
