]> Cypherpunks repositories - gostls13.git/commit
runtime: move zeroVal out of map.go
authorMichael Pratt <mpratt@google.com>
Fri, 19 Apr 2024 17:46:16 +0000 (13:46 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 22 Apr 2024 20:09:01 +0000 (20:09 +0000)
commit1f4bcee2cd064fdb5b02f36b4e96c1dc3aac48c9
treec300713bf028bcc870a24f78dbcf7cb7b9b057b7
parent9f9dd2bfd8a09083b21767d13df38ff67d7236d8
runtime: move zeroVal out of map.go

It isn't specific to maps, so put it in a more general location.

For #54766.

Change-Id: Ia3f3ebe8c347cfa5a8582082a306f4df4e05818d
Reviewed-on: https://go-review.googlesource.com/c/go/+/580777
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/abi/map.go
src/internal/abi/runtime.go [new file with mode: 0644]
src/runtime/map.go
src/runtime/runtime.go