mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd: remove GOEXPERIMENT=nounified knob
This CL removes the GOEXPERIMENT=nounified knob, and any conditional statements that depend on that knob. Further CLs to remove unreachable code follow this one. Updates #57410. Change-Id: I39c147e1a83601c73f8316a001705778fee64a91 Reviewed-on: https://go-review.googlesource.com/c/go/+/458615 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
This commit is contained in:
parent
3d49b683c6
commit
4f467f1082
32 changed files with 71 additions and 533 deletions
|
|
@ -3688,11 +3688,6 @@ func (r *reader) importedDef() bool {
|
|||
}
|
||||
|
||||
func MakeWrappers(target *ir.Package) {
|
||||
// Only unified IR emits its own wrappers.
|
||||
if base.Debug.Unified == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
// always generate a wrapper for error.Error (#29304)
|
||||
needWrapperTypes = append(needWrapperTypes, types.ErrorType)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue