]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use internal/buildcfg for checking newinliner enable
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 16 Nov 2023 15:19:37 +0000 (22:19 +0700)
committerGopher Robot <gobot@golang.org>
Fri, 17 Nov 2023 12:45:41 +0000 (12:45 +0000)
commit5b6d3dea8744311825fd544a73edb8d26d9c7e98
treee382ead133e372d9b392d069b537276fd2e46139
parentb9a08f159d3074ad5921a9d8625b267b64d957bc
cmd/compile: use internal/buildcfg for checking newinliner enable

internal/goexperiment reports what GOEXPERIMENT the compiler itself was
compiled with, not what experiment to use for the object code that the
compiler is compiling.

Fixes #64189

Change-Id: I892d78611f8c76376032fd7459e755380afafac6
Reviewed-on: https://go-review.googlesource.com/c/go/+/542995
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/inline/inlheur/analyze.go
src/cmd/compile/internal/noder/linker.go
src/cmd/compile/internal/noder/reader.go