]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.regabi] cmd/compile: simplify export data representation of nil
authorMatthew Dempsky <mdempsky@google.com>
Mon, 30 Nov 2020 21:50:05 +0000 (13:50 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Mon, 30 Nov 2020 22:10:39 +0000 (22:10 +0000)
commitc6de5d8d1f56465869a9271753796da35c60f3e6
tree957eb38d214a3af369e3da720383c2e6f2c5ce45
parentae1a3378092e25c7a7aa0100c2e29397f7bc2798
[dev.regabi] cmd/compile: simplify export data representation of nil

The handling of ONIL and Orig has been a mess for a while, and dates
back to how fmt.go used to print out typed nils. That hasn't applied
for a while, but we've kept dragging it along to appease toolstash
with the intention of someday finally removing it.

Today is that day.

Change-Id: I9a441628e53068ab1993cd2b67b977574d8117b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/274212
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/compile/internal/gc/iexport.go
src/cmd/compile/internal/gc/iimport.go