]> Cypherpunks repositories - gostls13.git/commit
[dev.regabi] cmd/compile: remove mode.Sprintf etc in printer
authorRuss Cox <rsc@golang.org>
Sun, 6 Dec 2020 17:38:11 +0000 (12:38 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 7 Dec 2020 20:40:58 +0000 (20:40 +0000)
commit3904a6282945276ec72683920c278b2e3141a1fe
tree047cb5d20105e803ba9566a5c295566da71951bb
parentfb17dfa43d1c8e08d08f380ea082195d1c4f89f4
[dev.regabi] cmd/compile: remove mode.Sprintf etc in printer

This code is now hardly used and not worth the complexity.
It also tangles together Nodes and Types in a way that keeps
this code in package ir instead of package types.

Passes buildall w/ toolstash -cmp.

Change-Id: I2e829c1f6b602acbdc8ab4aac3b798f9ded762ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/275777
Trust: Russ Cox <rsc@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/fmtmap_test.go
src/cmd/compile/internal/ir/fmt.go