]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: remove (*Signature).SetRecvTypeParams
authorMatthew Dempsky <mdempsky@google.com>
Wed, 26 Jan 2022 00:49:59 +0000 (16:49 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Wed, 26 Jan 2022 19:33:44 +0000 (19:33 +0000)
commit8cfbb58bc70b9f9126a3310ac564344cc08c604b
tree379e9e03fb1d9b0095a27fa88012a774592f669d
parent946a8669d92f18a0029abaed9cea36194562a957
cmd/compile/internal/types2: remove (*Signature).SetRecvTypeParams

This method isn't available in go/types, and its use by unified IR is
non-essential. This CL refactors reader2.go to avoid using it and then
removes the method.

Change-Id: I813c93a062c43292bb6760686ef91df5219534a6
Reviewed-on: https://go-review.googlesource.com/c/go/+/380834
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/noder/reader2.go
src/cmd/compile/internal/types2/signature.go