commit | bd983a6d2e8b6b0385724ef05872ba659111ec20 | [log] [tgz] |
---|---|---|
author | Matthew Dempsky <mdempsky@google.com> | Wed Nov 29 12:26:59 2017 -0800 |
committer | Matthew Dempsky <mdempsky@google.com> | Fri Dec 01 00:40:45 2017 +0000 |
tree | dc5fe7f055a59a74254fafc81dfed66b173ba1bf | |
parent | f3b24b9f0766351fc8b3d43c4ea03f948a460e75 [diff] |
cmd/compile: fix GOEXPERIMENT checks GOEXPERIMENT is only set during make.bash, so checking the environment variable isn't effectual. Instead, check the values exposed by objabi. These experiments look potentially safe, but it seems too late in the release cycle to try to assuage that. The one exception is frame pointer experiment, which is trivially safe: it just amounts to incrementing some stack offsets by PtrSize. Fixes #22223. Change-Id: I46dc7c54b1347143d02d6b9635038230cda6d164 Reviewed-on: https://go-review.googlesource.com/80760 Reviewed-by: Russ Cox <rsc@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of hundreds of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project does not use GitHub pull requests, and that we use the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.