]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/abi: stop using types.Func
authorMatthew Dempsky <mdempsky@google.com>
Sun, 20 Aug 2023 06:04:46 +0000 (23:04 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 21 Aug 2023 21:44:12 +0000 (21:44 +0000)
commitd5cd55a289144c25aff4ae8d293bb31f9bdba3a3
treec27385ef270e5f9022491d32476d7944c17e8c21
parentd1593b7a4a8cd60e30bfc41df83fb22ab8393d51
cmd/compile/internal/abi: stop using types.Func

This is supposed to be an internal type within package types. At least
for now, users of the types package should stick to the types.Type
APIs as much as possible.

This CL also unexports FuncType and a few others to prevent
backsliding.

Change-Id: I053fc115a5e6a57c148c8149851a45114756072f
Reviewed-on: https://go-review.googlesource.com/c/go/+/521255
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/abi/abiutils.go
src/cmd/compile/internal/gc/compile.go
src/cmd/compile/internal/reflectdata/reflect.go
src/cmd/compile/internal/ssa/debug.go
src/cmd/compile/internal/ssagen/abi.go
src/cmd/compile/internal/types/type.go