]> Cypherpunks.ru repositories - gostls13.git/commit
internal/abi: refactor (basic) type struct into one definition
authorDavid Chase <drchase@google.com>
Fri, 20 Jan 2023 21:41:57 +0000 (16:41 -0500)
committerDavid Chase <drchase@google.com>
Fri, 5 May 2023 14:59:28 +0000 (14:59 +0000)
commitbdc6ae579aa86d21183c612c8c37916f397afaa8
treecc63ff843ab5a7f3c196c8fa2c74924bfee61d93
parentdace96b9a12905b34af609eedaa6b43e30e7cdb1
internal/abi: refactor (basic) type struct into one definition

This touches a lot of files, which is bad, but it is also good,
since there's N copies of this information commoned into 1.

The new files in internal/abi are copied from the end of the stack;
ultimately this will all end up being used.

Change-Id: Ia252c0055aaa72ca569411ef9f9e96e3d610889e
Reviewed-on: https://go-review.googlesource.com/c/go/+/462995
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
46 files changed:
src/cmd/compile/internal/base/base.go
src/cmd/compile/internal/reflectdata/reflect.go
src/cmd/link/internal/ld/decodesym.go
src/internal/abi/compiletype.go [new file with mode: 0644]
src/internal/abi/type.go [new file with mode: 0644]
src/internal/abi/unsafestring_go119.go [new file with mode: 0644]
src/internal/abi/unsafestring_go120.go [new file with mode: 0644]
src/internal/reflectlite/swapper.go
src/internal/reflectlite/type.go
src/internal/reflectlite/value.go
src/reflect/abi.go
src/reflect/benchmark_test.go
src/reflect/deepequal.go
src/reflect/export_test.go
src/reflect/swapper.go
src/reflect/type.go
src/reflect/value.go
src/runtime/alg.go
src/runtime/arena.go
src/runtime/cgocall.go
src/runtime/cgocheck.go
src/runtime/chan.go
src/runtime/checkptr.go
src/runtime/debuglog.go
src/runtime/error.go
src/runtime/export_debug_test.go
src/runtime/export_test.go
src/runtime/heapdump.go
src/runtime/iface.go
src/runtime/malloc.go
src/runtime/map.go
src/runtime/map_fast32.go
src/runtime/map_fast64.go
src/runtime/map_faststr.go
src/runtime/mbarrier.go
src/runtime/mbitmap.go
src/runtime/mfinal.go
src/runtime/plugin.go
src/runtime/race.go
src/runtime/select.go
src/runtime/slice.go
src/runtime/stkframe.go
src/runtime/syscall_windows.go
src/runtime/type.go
src/runtime/typekind.go
src/runtime/unsafe.go