cmd/compile/internal/gc: remove all uses of oconv(op, FmtSharp)

Updates #15462

Replace all use of oconv(op, FmtSharp) with fmt.Printf("%#v", op).
This removes all the callers of oconv.

Change-Id: Ic3bf22495147f8497c8bada01d681428e2405b0e
Reviewed-on: https://go-review.googlesource.com/22530
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Dave Cheney 2016-04-27 19:34:17 +10:00
parent f08f1cd2e9
commit 733f835f30
4 changed files with 23 additions and 22 deletions

View file

@ -90,7 +90,7 @@ func gvardefx(n *Node, as obj.As) {
Fatalf("gvardef nil")
}
if n.Op != ONAME {
Yyerror("gvardef %v; %v", oconv(n.Op, FmtSharp), n)
Yyerror("gvardef %#v; %v", n.Op, n)
return
}