]> Cypherpunks repositories - gostls13.git/commitdiff
internal/buildcfg: enable unified IR by default
authorMatthew Dempsky <mdempsky@google.com>
Tue, 9 Aug 2022 07:29:45 +0000 (00:29 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Thu, 18 Aug 2022 22:53:59 +0000 (22:53 +0000)
Unified IR is now at feature parity with the non-unified frontend.

Change-Id: I2a8cd41267a66f5eb1f425b89d18c6d501676e07
Reviewed-on: https://go-review.googlesource.com/c/go/+/422235
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: David Chase <drchase@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/internal/buildcfg/exp.go

index 8c352149c4874d01dec0caced875d8330369bbd3..a5955d3947a75139bfade83d820869f213e6ccec 100644 (file)
@@ -72,6 +72,7 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
        baseline := goexperiment.Flags{
                RegabiWrappers: regabiSupported,
                RegabiArgs:     regabiSupported,
+               Unified:        true,
        }
 
        // Start with the statically enabled set of experiments.