]> Cypherpunks.ru repositories - gostls13.git/commit
internal/goexperiment: consolidate experiment-enabled constants
authorAustin Clements <austin@google.com>
Tue, 6 Apr 2021 17:35:48 +0000 (13:35 -0400)
committerAustin Clements <austin@google.com>
Thu, 8 Apr 2021 02:17:18 +0000 (02:17 +0000)
commitb675e52e9592ba3db1a3cf2dc9c4bc02c89e03a8
tree9caaf1b6ffc880af66b87c6598603d9087e17f17
parent6304b401e4bcfc1d61dd687bb5b7df13fd71033b
internal/goexperiment: consolidate experiment-enabled constants

Currently, we have boolean and integral constants for GOEXPERIMENTs in
various places. Consolidate these into automatically generated
constants in the internal/goexperiment package.

Change-Id: I42a49aba2a3b4c722fedea23a613162cd8a67bee
Reviewed-on: https://go-review.googlesource.com/c/go/+/307818
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
31 files changed:
src/go/build/deps_test.go
src/internal/goexperiment/exp_fieldtrack_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_fieldtrack_on.go [new file with mode: 0644]
src/internal/goexperiment/exp_preemptibleloops_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_preemptibleloops_on.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabi_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabi_on.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabiargs_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabiargs_on.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabidefer_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabidefer_on.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabig_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabig_on.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabireflect_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabireflect_on.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabiwrappers_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_regabiwrappers_on.go [new file with mode: 0644]
src/internal/goexperiment/exp_staticlockranking_off.go [new file with mode: 0644]
src/internal/goexperiment/exp_staticlockranking_on.go [new file with mode: 0644]
src/internal/goexperiment/flags.go
src/internal/goexperiment/mkconsts.go [new file with mode: 0644]
src/reflect/abi.go
src/reflect/regabiargs_off.go [deleted file]
src/reflect/regabiargs_on.go [deleted file]
src/runtime/panic.go
src/runtime/proc.go
src/runtime/regabiargs_off.go [deleted file]
src/runtime/regabiargs_on.go [deleted file]
src/runtime/regabidefer_off.go [deleted file]
src/runtime/regabidefer_on.go [deleted file]
src/runtime/stubs.go