]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile: set unsayable "names" for regabi testing triggers
authorDavid Chase <drchase@google.com>
Wed, 10 Mar 2021 01:43:49 +0000 (20:43 -0500)
committerDavid Chase <drchase@google.com>
Thu, 6 May 2021 11:58:39 +0000 (11:58 +0000)
commitb4ca1cec69f8248b77d8d8ce019943ced5235ed0
treea50d6cbba00b63315b7b22e7ea51b4bb3d8a093e
parent1108cbe60b87196ce739ff8bce08c9862d6b61f0
cmd/compile: set unsayable "names" for regabi testing triggers

This disables the "testing names" for method names and
trailing input types passed to closure/interface/other calls.
The logic using the names remains, so that editing the change
to enable local testing is not too hard.

Also fixes broken build tag in reflect/abi_test.go

Updates #44816.

Change-Id: I3d222d2473c98d04ab6f1122ede9fea70c994af1
Reviewed-on: https://go-review.googlesource.com/c/go/+/300150
Trust: David Chase <drchase@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/compile/internal/ssagen/ssa.go
src/reflect/abi_test.go
test/abi/fibish2.go [deleted file]
test/abi/fibish2.out [deleted file]
test/abi/methods.go [deleted file]
test/abi/methods.out [deleted file]