]> Cypherpunks repositories - gostls13.git/commit
cmd/asm,runtime: reduce spellings of GOEXPERIMENTs
authorAustin Clements <austin@google.com>
Tue, 6 Apr 2021 14:17:28 +0000 (10:17 -0400)
committerAustin Clements <austin@google.com>
Thu, 8 Apr 2021 02:17:15 +0000 (02:17 +0000)
commit0c4a08cb74abe026260a224a2b553c1f77a1172a
tree58c8f2a780273fbf9696d27f8583b5c04fdb42d5
parentaeaa4519b584747b57d780c31134be8f6bb36251
cmd/asm,runtime: reduce spellings of GOEXPERIMENTs

Currently, the objabi.Experiment fields use Go-standard CamelCase, the
GOEXPERIMENT environment variable flags and build tags use all
lowercase, and the asm macros use upper-case with underscores.

This CL makes asm use the lowercase names for macros so there is one
less spelling, e.g., GOEXPERIMENT_regabiargs. This also makes them
consistent with the GOOS_* and GOARCH_* macros, which also use lower
case.

Change-Id: I305cd89af5e8cd1a89cc148746c034bcfd76db3c
Reviewed-on: https://go-review.googlesource.com/c/go/+/307816
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/asm/internal/lex/input.go
src/runtime/asm_amd64.s
src/runtime/race_amd64.s
src/runtime/sys_linux_amd64.s