From a8a050819bd4693ea7c6fdc1744038f172c2a439 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Mon, 7 May 2018 13:42:28 -0700 Subject: [PATCH] cmd/compile: mention the AuxInt field for bounded shifts This comment needs updating after moving the "bounded" mark from Aux to AuxInt. Change-Id: I924fb22a81fffcd6944b93f0e3357c3aa2c4c49e Reviewed-on: https://go-review.googlesource.com/111880 Reviewed-by: Brad Fitzpatrick --- src/cmd/compile/internal/ssa/gen/genericOps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ssa/gen/genericOps.go b/src/cmd/compile/internal/ssa/gen/genericOps.go index a0a0afe779..13581452e7 100644 --- a/src/cmd/compile/internal/ssa/gen/genericOps.go +++ b/src/cmd/compile/internal/ssa/gen/genericOps.go @@ -100,7 +100,7 @@ var genericOps = []opData{ // For shifts, AxB means the shifted value has A bits and the shift amount has B bits. // Shift amounts are considered unsigned. // If arg1 is known to be less than the number of bits in arg0, - // then aux may be set to true. + // then auxInt may be set to 1. // This enables better code generation on some platforms. {name: "Lsh8x8", argLength: 2, aux: "Bool"}, // arg0 << arg1 {name: "Lsh8x16", argLength: 2, aux: "Bool"},