]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.unified] cmd/compile: drop package height from Unified IR importer
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Wed, 8 Jun 2022 04:05:28 +0000 (11:05 +0700)
committerGopher Robot <gobot@golang.org>
Mon, 27 Jun 2022 22:54:46 +0000 (22:54 +0000)
commit4b78ece3d7cc34ae7a5175177159599d381400c4
treecdc5b73966aa67e88a66def4897b43ee5e25e4e3
parent398d46d538e70852c6e8c50dc4fb9e1ef3c3a97c
[dev.unified] cmd/compile: drop package height from Unified IR importer

CL 410342 removed package height, but still needs to keep writing out 0
for iexport for compatibility with existing importers. With Unified IR,
we don't have to, so get rid of the package height completely.

Change-Id: I84a285cbaddd7bb0833d45a24a6818231b4d2b71
Reviewed-on: https://go-review.googlesource.com/c/go/+/411014
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/importer/ureader.go
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/noder/writer.go
src/go/internal/gcimporter/ureader.go