]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: don't export blank functions in unified IR
authorMatthew Dempsky <mdempsky@google.com>
Wed, 28 Jul 2021 20:17:56 +0000 (13:17 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 28 Jul 2021 21:45:44 +0000 (21:45 +0000)
commit4a47e40a14c2051656d4ff4b768fe21a5fc308fa
tree447bcd6119235d166214da345def4f0a851e28a7
parent506fd520d5cd6ea075ac82e79a23c502c1540170
[dev.typeparams] cmd/compile: don't export blank functions in unified IR

After the previous two CLs, there's no need for unified IR to
write/read blank functions anymore: types2 has already checked that
they're valid, and the compiler backend is going to ignore them.

Allows dropping code for worrying about blank methods and will
probably simplify some of the object handling code eventually too.

Fixes #47446.

Change-Id: I03cb722793d676a246b1ab768b5cf0d3d2578b12
Reviewed-on: https://go-review.googlesource.com/c/go/+/338096
Trust: Matthew Dempsky <mdempsky@google.com>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/noder/writer.go