]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: remove go117ExportTypes constant
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 28 Apr 2022 18:08:40 +0000 (01:08 +0700)
committerGopher Robot <gobot@golang.org>
Thu, 28 Apr 2022 18:41:22 +0000 (18:41 +0000)
commit15381040fa8cb2f00579595c60594964d73b09b1
tree3072e74cbb40bfb42d18417da633320c2c8e4fd1
parent123e27170aac5b26c38e6bf9866e16a38aed1696
cmd/compile: remove go117ExportTypes constant

Now, 1.17 is the least supported version, the compiler always write
type information when exporting function bodies. So we can get rid of
go117ExportTypes constant and all its conditional checking codes.

Change-Id: I9ac616509c30601e94f99426049d814328253395
Reviewed-on: https://go-review.googlesource.com/c/go/+/402974
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/inline/inl.go
src/cmd/compile/internal/typecheck/func.go
src/cmd/compile/internal/typecheck/iexport.go
src/cmd/compile/internal/typecheck/iimport.go