diff options
| author | Keith Randall <khr@golang.org> | 2025-12-05 14:20:00 -0800 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2026-01-23 20:58:20 -0800 |
| commit | cca64d0f5ccc6ae88d36ee5ef388b8617d4d425d (patch) | |
| tree | 64c9533e2f25aaf7c2aea192babaceae07ca8f9a /src/cmd/vendor/github.com | |
| parent | 0da8979210de8749306ddd8b49710d5594bb75c4 (diff) | |
| download | go-cca64d0f5ccc6ae88d36ee5ef388b8617d4d425d.tar.xz | |
cmd/compile: clean up eq and hash implementations
Use unsafe.Pointer instead of *any as the argument type.
Now that we're using signatures, we don't have exact types so we
might as well use unsafe.Pointer everywhere.
Simplify hash function choice a bit.
Change-Id: If1a07091031c4b966fde3a1d66295a04fd5a838c
Reviewed-on: https://go-review.googlesource.com/c/go/+/727501
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/cmd/vendor/github.com')
0 files changed, 0 insertions, 0 deletions
