]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use | in the last repetitive generic rules
authorAlberto Donizetti <alb.donizetti@gmail.com>
Thu, 22 Feb 2018 13:32:57 +0000 (14:32 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 23 Feb 2018 04:05:15 +0000 (04:05 +0000)
commitf6c67813025305c1dfab61b43e416474ca56a45b
tree8b1597433fbb7efcc912e43bf3da3827a034f468
parent5b3cd56038fbc76d5094c6a3373776532cbe386d
cmd/compile: use | in the last repetitive generic rules

This change or-ifies the last low-hanging rules in generic. Again,
this is limited at short and repetitive rules, where the use or ors
does not impact readability.

Ran rulegen, no change in the actual compiler code.

Change-Id: I972b523bc08532f173a3645b47d6936b6e1218c8
Reviewed-on: https://go-review.googlesource.com/96335
Reviewed-by: Giovanni Bajo <rasky@develer.com>
src/cmd/compile/internal/ssa/gen/generic.rules