]> Cypherpunks repositories - gostls13.git/commit
cmd: use cmd/internal/hash.New32 and Sum32 only
authorRuss Cox <rsc@golang.org>
Tue, 7 Jan 2025 16:28:44 +0000 (11:28 -0500)
committerGopher Robot <gobot@golang.org>
Thu, 13 Feb 2025 20:34:30 +0000 (12:34 -0800)
commiteab8e987c067ca91ad4ed79b384d8a33494bbf39
tree4d980ee4060c22c4e91789f455a2fe9d7d1ef6b4
parenta7e331e67105f1a8cc0236b7f3b1e6a3570dda27
cmd: use cmd/internal/hash.New32 and Sum32 only

Do not use New16, New20, Sum16, Sum20 anymore.
As of CL 641096, these are just wrappers around New32 and Sum32.
Change call sites to use them directly.

Change-Id: Icea91a77449f6839b903894997057ba404bd04e0
Reviewed-on: https://go-review.googlesource.com/c/go/+/641076
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/cgo/main.go
src/cmd/compile/internal/liveness/plive.go
src/cmd/compile/internal/types/fmt.go
src/cmd/internal/hash/hash.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/sym.go
src/cmd/link/internal/ld/elf.go
src/cmd/link/internal/ld/lib.go
src/cmd/objdump/objdump_test.go