diff options
| author | Daniel Martí <mvdan@mvdan.cc> | 2017-11-09 23:10:43 +0000 |
|---|---|---|
| committer | Daniel Martí <mvdan@mvdan.cc> | 2017-11-10 10:56:22 +0000 |
| commit | 3231d4e4ef37df9c4457c1ce1ae3f46cf4b994f7 (patch) | |
| tree | cb865a1086842262ab8dfd5f436b80b857b08db1 /src/cmd/internal/test2json/testdata/unicode.json | |
| parent | 366681cc06357cfdca91c18eff059e11e5470383 (diff) | |
| download | go-3231d4e4ef37df9c4457c1ce1ae3f46cf4b994f7.tar.xz | |
cmd/compile: replace opnames with stringer
Now possible, since stringer just got the -trimprefix flag added.
While at it, simplify a few Op stringifications since we can now use %v,
and no longer have to worry about o<len(opnames).
Passes toolstash -cmp on std cmd.
Fixes #15462.
Change-Id: Icdcde0b0a5eb165d18488918175024da274f782b
Reviewed-on: https://go-review.googlesource.com/76790
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Dave Cheney <dave@cheney.net>
Diffstat (limited to 'src/cmd/internal/test2json/testdata/unicode.json')
0 files changed, 0 insertions, 0 deletions
