]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove types.Compare map bucket special cases
authorMichael Pratt <mpratt@google.com>
Wed, 9 Oct 2024 20:44:17 +0000 (16:44 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 20 Nov 2024 21:41:14 +0000 (21:41 +0000)
commitcf5ec0720f5b0996d4e2b429cdf82e7872593e1b
treee6289b3076fab7d3253b1d686696746143511c5b
parenta947912d8ad5398a78f14ceaa80369f60a3f85f8
cmd/compile: remove types.Compare map bucket special cases

runtime.hmap never directly refers to the bucket type (it uses an
unsafe.Pointer), thus it shouldn't be possible to have infinite
recursion here.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-linux-amd64-longtest-race,gotip-linux-amd64-longtest-aliastypeparams
Change-Id: I457885e48bbc352acedae1c0c389078f39ed9d65
Reviewed-on: https://go-review.googlesource.com/c/go/+/619037
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
src/cmd/compile/internal/types/type.go