]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/noder: write V2 bitstream aliastypeparams=1
authorTim King <taking@google.com>
Mon, 26 Aug 2024 22:49:09 +0000 (15:49 -0700)
committerTim King <taking@google.com>
Wed, 28 Aug 2024 21:03:29 +0000 (21:03 +0000)
commit9e8ea567c838574a0f14538c0bbbd83c3215aa55
treefc7865088176fffae13b4c9a900cf565622d7ea6
parent6d52d7d22b70a5faa2868b6406ccdc7fd9b89083
cmd/compile/internal/noder: write V2 bitstream aliastypeparams=1

Enables V2 unified IR bitstreams when GOEXPERIMENT aliastypeparams
are enabled.

Allows pkgbits.NewPkgEncoder to set the output version.
Reenables support for writing V0 streams.

Updates #68778
Updates #68526

Change-Id: I590c494d81ab7db148232ceaba52229068d1e986
Reviewed-on: https://go-review.googlesource.com/c/go/+/608595
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/noder/unified.go
src/cmd/compile/internal/noder/writer.go
src/internal/pkgbits/decoder.go
src/internal/pkgbits/encoder.go
src/internal/pkgbits/pkgbits_test.go
test/fixedbugs/issue68526.dir/a/a.go
test/fixedbugs/issue68526.dir/main.go