]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: use | in the most repetitive 386 rules
authorAlberto Donizetti <alb.donizetti@gmail.com>
Tue, 20 Feb 2018 20:04:56 +0000 (21:04 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 20 Feb 2018 20:27:27 +0000 (20:27 +0000)
commitec62ee7f6d3839fe69aeae538dadc1c9dc3bf020
treef9e9da141cc9f53d45e880d74c201841a2a2662f
parentf6f1750a0523897d6343fa3117265b5206266379
cmd/compile: use | in the most repetitive 386 rules

For now, limited to the most repetitive rules that are also short and
simple, so that we can have a substantial conciseness win without
compromising rules readability.

Ran rulegen, no change in the actual compiler code (as expected).

Change-Id: Ibf157382fb4544c063fbc80406fb9302430728fe
Reviewed-on: https://go-review.googlesource.com/95595
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/ssa/gen/386.rules