]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: convert Aconv to a stringer
authorMichael Pratt <mpratt@google.com>
Tue, 19 Jul 2016 04:59:14 +0000 (21:59 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 16 Aug 2016 15:03:07 +0000 (15:03 +0000)
commite6e26eeb299f9829ac70bd400d011bfdd266f1c1
treea5823392b2554c755c4fd2774bb59e70693ab9d7
parent5693bee0f1f245ffc58c58a41bfd9a431a416957
cmd/internal/obj: convert Aconv to a stringer

Now that assembler opcodes have their own type, they can have a true
stringer, rather than explicit calls to Aconv, which makes for nicer
format strings.

Change-Id: Ic77f5f8ac38b4e519dcaa08c93e7b732226f7bfe
Reviewed-on: https://go-review.googlesource.com/25045
Run-TryBot: Michael Pratt <mpratt@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
15 files changed:
src/cmd/asm/internal/asm/asm.go
src/cmd/compile/internal/arm/peep.go
src/cmd/compile/internal/arm64/peep.go
src/cmd/compile/internal/mips64/peep.go
src/cmd/compile/internal/ppc64/peep.go
src/cmd/compile/internal/ppc64/prog.go
src/cmd/compile/internal/s390x/peep.go
src/cmd/internal/obj/arm/asm5.go
src/cmd/internal/obj/arm64/asm7.go
src/cmd/internal/obj/mips/asm0.go
src/cmd/internal/obj/ppc64/asm9.go
src/cmd/internal/obj/s390x/asmz.go
src/cmd/internal/obj/util.go
src/cmd/internal/obj/x86/asm6.go
src/cmd/internal/obj/x86/obj6.go