• Matthew Dempsky's avatar
    cmd/compile: fix GOEXPERIMENT checks · bd983a6d
    Matthew Dempsky authored
    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/80760Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    bd983a6d
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...