]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: record more typ/fun info for dictionaries in unified IR
authorMatthew Dempsky <mdempsky@google.com>
Tue, 13 Jul 2021 16:09:32 +0000 (09:09 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 14 Jul 2021 02:41:09 +0000 (02:41 +0000)
commit5517053d178d1259f6f1a9c2d65efbf335002cea
tree3fd5cf40c099f152f9b68e1f2532e2e9aed1dedf
parent82744bfbfc2d0407ecf1bf055f548c3948d4683b
[dev.typeparams] cmd/compile: record more typ/fun info for dictionaries in unified IR

Records whether a derived type is needed at run-time as well as
instantiated functions that rely on derived types (and thus need
sub-dictionaries).

Change-Id: I2f2036976bfce5b3b4372fba88b4116dafa7e6b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/334349
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/cmd/compile/internal/noder/reader.go
src/cmd/compile/internal/noder/reader2.go
src/cmd/compile/internal/noder/unified.go
src/cmd/compile/internal/noder/writer.go