]> Cypherpunks repositories - gostls13.git/commit
all: split old and swiss map abi and compiler integration
authorMichael Pratt <mpratt@google.com>
Fri, 19 Apr 2024 17:52:31 +0000 (13:52 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 2 Aug 2024 16:41:53 +0000 (16:41 +0000)
commit4f7dc282c4bdfba4e63b39bbe9846c1469dc7ee5
treeb4fa4f7de70120c25c408b85056ac30245cfaef9
parent057b703407fa833193cbdc1f37179561c6c9da90
all: split old and swiss map abi and compiler integration

The two map implementations are still identical, but now the compiler
targets the appropriate ABI depending on GOEXPERIMENT.

For #54766.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-linux-amd64-longtest-swissmap
Change-Id: I8438f64f044ba9de30ddbf2b8ceb9b4edd2d5614
Reviewed-on: https://go-review.googlesource.com/c/go/+/580779
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
40 files changed:
src/cmd/compile/internal/reflectdata/map_noswiss.go [new file with mode: 0644]
src/cmd/compile/internal/reflectdata/map_swiss.go [new file with mode: 0644]
src/cmd/compile/internal/reflectdata/reflect.go
src/cmd/compile/internal/rttype/rttype.go
src/cmd/compile/internal/ssagen/ssa.go
src/cmd/compile/internal/types/fmt.go
src/cmd/compile/internal/types/sizeof_test.go
src/cmd/compile/internal/types/type.go
src/cmd/compile/internal/walk/builtin.go
src/cmd/compile/internal/walk/order.go
src/cmd/compile/internal/walk/walk.go
src/cmd/link/internal/ld/deadcode.go
src/cmd/link/internal/ld/dwarf.go
src/cmd/link/internal/ld/dwarf_test.go
src/internal/abi/map.go [deleted file]
src/internal/abi/map_noswiss.go [new file with mode: 0644]
src/internal/abi/map_select_noswiss.go [new file with mode: 0644]
src/internal/abi/map_select_swiss.go [new file with mode: 0644]
src/internal/abi/map_swiss.go [new file with mode: 0644]
src/internal/abi/type.go
src/reflect/all_test.go
src/reflect/map_noswiss.go
src/reflect/map_swiss.go
src/runtime/export_map_noswiss_test.go [new file with mode: 0644]
src/runtime/export_map_swiss_test.go [new file with mode: 0644]
src/runtime/export_test.go
src/runtime/map_fast32_noswiss.go
src/runtime/map_fast32_swiss.go
src/runtime/map_fast64_noswiss.go
src/runtime/map_fast64_swiss.go
src/runtime/map_faststr_noswiss.go
src/runtime/map_faststr_swiss.go
src/runtime/map_noswiss.go
src/runtime/map_noswiss_test.go [new file with mode: 0644]
src/runtime/map_swiss.go
src/runtime/map_swiss_test.go [new file with mode: 0644]
src/runtime/map_test.go
src/runtime/runtime-gdb.py
src/runtime/runtime-gdb_test.go
src/runtime/type.go