mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
f08f1cd2e9
commit
733f835f30
4 changed files with 23 additions and 22 deletions
|
|
@ -82,7 +82,7 @@ func unsafenmagic(nn *Node) *Node {
|
|||
v += r1.Xoffset
|
||||
default:
|
||||
Dump("unsafenmagic", r)
|
||||
Fatalf("impossible %v node after dot insertion", oconv(r1.Op, FmtSharp))
|
||||
Fatalf("impossible %#v node after dot insertion", r1.Op)
|
||||
goto bad
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue