]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: reorg equality functions a bit
authorKeith Randall <khr@golang.org>
Mon, 1 Dec 2025 23:58:57 +0000 (15:58 -0800)
committerKeith Randall <khr@golang.org>
Sat, 24 Jan 2026 04:58:03 +0000 (20:58 -0800)
commit6eec9bcdb28c9a143db1962fac6847a282dbaf65
tree6a348b77958bb9fc1d38390b0732b1d9bdd44fab
parent30dff416e42b0bd44237b7658eafc7063dda6b63
cmd/compile: reorg equality functions a bit

Use signature for closure name instead of type.
Use signature instead of type to decide to use a runtime builtin comparator.
Remove trailing skips from signatures.

Change-Id: I73b2dcd3c6e2f1b2857985e14c24b290941b3ca3
Reviewed-on: https://go-review.googlesource.com/c/go/+/725604
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Keith Randall <khr@google.com>
src/cmd/compile/internal/reflectdata/alg.go