aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ssa/export_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2020-12-06 13:17:03 -0500
committerRuss Cox <rsc@golang.org>2020-12-07 20:41:03 +0000
commit70155cca81d061686d4f23b7ad59fe8213e87f9f (patch)
treedfdb2475a6ec5dc89e0992a91b8c7c1402af97db /src/cmd/compile/internal/ssa/export_test.go
parent3904a6282945276ec72683920c278b2e3141a1fe (diff)
downloadgo-70155cca81d061686d4f23b7ad59fe8213e87f9f.tar.gz
go-70155cca81d061686d4f23b7ad59fe8213e87f9f.zip
[dev.regabi] cmd/compile: untangle FmtFlag, FmtMode
It turns out that the FmtFlag is really only tracking the FmtLong and FmtShort bits, and the others simply mirror the state of the FmtMode and are copied out and back in repeatedly. Simplify to FmtFlag being the verb itself ('S', 'L', or 'v'). Now there is only one formatting enumeration, making it a bit easier to understand what's going on. Passes buildall w/ toolstash -cmp. Change-Id: I85bde2183eb22228fcf46d19d003401d588d9825 Reviewed-on: https://go-review.googlesource.com/c/go/+/275778 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/cmd/compile/internal/ssa/export_test.go')
0 files changed, 0 insertions, 0 deletions