]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use generics for sparse map
authorKeith Randall <khr@golang.org>
Thu, 12 Jun 2025 00:14:59 +0000 (17:14 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 24 Jul 2025 16:04:22 +0000 (09:04 -0700)
commit6505fcbd0aaba2ab39915dcf437f01f1af83cd25
tree1194ec62192e5453160515cd75ee70586ff52a0c
parent14f5eb781231bcd1b892c76e04db559caee59a6a
cmd/compile: use generics for sparse map

So it is easier to reuse this code with different key/value types.

Change-Id: I5a9e669769cf359b32f2fe784594868acdee4d02
Reviewed-on: https://go-review.googlesource.com/c/go/+/681175
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: David Chase <drchase@google.com>
Auto-Submit: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/compile/internal/ssa/biasedsparsemap.go
src/cmd/compile/internal/ssa/deadstore.go
src/cmd/compile/internal/ssa/sparsemap.go