]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.unified] cmd/compile: write iface conversion RTTI into unified IR
authorMatthew Dempsky <mdempsky@google.com>
Sat, 23 Jul 2022 07:46:10 +0000 (00:46 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 28 Jul 2022 07:31:29 +0000 (07:31 +0000)
commit92798176e76f4ab69d4f18adf40b1a2aab4e3ea1
treee5936573e5f590fa007042a0e3ec6c9316f24c92
parent9b70178d58060764cbaedf3d4542bd67f9aafede
[dev.unified] cmd/compile: write iface conversion RTTI into unified IR

This CL changes convRTTI into a serialization method too, like the
previous CL's rtype method. And again, currently this just builds on
the existing type serialization logic, but will eventually be changed
to use dictionary lookups where appropriate.

Change-Id: I551aef8ade24b08dc6206f06ace86d91e665f5c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/419457
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/noder/writer.go
src/internal/pkgbits/sync.go