aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ir/scc.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2020-12-26 21:43:30 -0800
committerMatthew Dempsky <mdempsky@google.com>2020-12-28 07:44:45 +0000
commit6c676775419b4cfc9f1a3b8959d538b81cec754e (patch)
tree6d743f9b211a4f004da8a9078b2054ac627d50f3 /src/cmd/compile/internal/ir/scc.go
parent676d794b8119a40aaa0aa00124f367bd72eeff9c (diff)
downloadgo-6c676775419b4cfc9f1a3b8959d538b81cec754e.tar.gz
go-6c676775419b4cfc9f1a3b8959d538b81cec754e.zip
[dev.regabi] cmd/compile: simplify FuncName and PkgFuncName
Now that we have proper types, these functions can be restricted to only allowing *ir.Func, rather than any ir.Node. And even more fortunately, all of their callers already happen to always pass *ir.Func arguments, making this CL pretty simple. Passes toolstash -cmp. Change-Id: I21ecd4c8cee3ccb8ba86b17cedb2e71c56ffe87a Reviewed-on: https://go-review.googlesource.com/c/go/+/280440 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Diffstat (limited to 'src/cmd/compile/internal/ir/scc.go')
0 files changed, 0 insertions, 0 deletions