]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: separate out parameter and field export encoding
authorKeith Randall <khr@golang.org>
Tue, 20 Apr 2021 22:36:11 +0000 (15:36 -0700)
committerKeith Randall <khr@golang.org>
Tue, 20 Apr 2021 23:41:54 +0000 (23:41 +0000)
commite12b0afa5454c7683cb27bef0b6979f964dd0e96
treee6bde57c389b6ed24e92548d08a20cdf0fcce39f
parent48e3d924548ce6b96f55ff74e40f9a16449ac659
cmd/compile: separate out parameter and field export encoding

These two types of *types.Field encode different concepts, so we
encode them separately (and ignore fields that don't matter for
each concept).

Change-Id: I9d1608413949a109f12a3ebd52cd7af5f476e415
Reviewed-on: https://go-review.googlesource.com/c/go/+/312130
Trust: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/compile/internal/typecheck/iexport.go
src/cmd/compile/internal/typecheck/iimport.go