aboutsummaryrefslogtreecommitdiff
path: root/test/codegen
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2026-03-31 12:20:58 -0700
committerGopher Robot <gobot@golang.org>2026-03-31 12:43:09 -0700
commit14a6bf0e90c0e22dcbf6dcf367604ac1ec627121 (patch)
tree57ab57863acd3c17894e448f0c6758b97e439d64 /test/codegen
parent974764364aa09a34cad2d74a6b7c52c12a136ea3 (diff)
downloadgo-14a6bf0e90c0e22dcbf6dcf367604ac1ec627121.tar.xz
test/codegen: remove unneeded commas
After CL 760780, commas aren't allowed. But some CLs that were already in flight don't know that. Change-Id: I31f586c87def4a9746dc2c055923fce8bad6647e Reviewed-on: https://go-review.googlesource.com/c/go/+/761620 Auto-Submit: Keith Randall <khr@golang.org> Reviewed-by: Junyang Shao <shaojunyang@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'test/codegen')
-rw-r--r--test/codegen/condmove.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/codegen/condmove.go b/test/codegen/condmove.go
index 61f47b4d8f..6d1bba4c70 100644
--- a/test/codegen/condmove.go
+++ b/test/codegen/condmove.go
@@ -514,10 +514,10 @@ func cmovmathor(a uint, b bool) uint {
if b {
a |= 1
}
- // amd64:"ORQ", -"CMOV"
- // arm64:"ORR", -"CSEL"
- // ppc64x:"OR", -"ISEL"
- // wasm:"I64Or", -"Select"
+ // amd64:"ORQ" -"CMOV"
+ // arm64:"ORR" -"CSEL"
+ // ppc64x:"OR" -"ISEL"
+ // wasm:"I64Or" -"Select"
return a
}
@@ -525,10 +525,10 @@ func cmovmathxor(a uint, b bool) uint {
if b {
a ^= 1
}
- // amd64:"XORQ", -"CMOV"
- // arm64:"EOR", -"CSEL"
- // ppc64x:"XOR", -"ISEL"
- // wasm:"I64Xor", -"Select"
+ // amd64:"XORQ" -"CMOV"
+ // arm64:"EOR" -"CSEL"
+ // ppc64x:"XOR" -"ISEL"
+ // wasm:"I64Xor" -"Select"
return a
}