aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2023-09-06 21:48:28 -0700
committerGopher Robot <gobot@golang.org>2023-09-08 19:01:07 +0000
commitaf8a2bde7b5b0b9db3d18c82d4b51ad30760eb09 (patch)
treed4ef483cc32d786a2785ff170e526e50f9b31601 /src/encoding/json
parent9c9fcabb024fc835d7b19249ea59c9e8cf9ed882 (diff)
downloadgo-af8a2bde7b5b0b9db3d18c82d4b51ad30760eb09.tar.xz
cmd/compile/internal/ssa: remove Frontend.MyImportPath
This method is only used to find the path of the function being compiled for hash debugging, but it was instead returning the path of the package being compiled. These are typically the same, but can be different for certain functions compiled across package boundaries (e.g., method value wrappers and generic functions). It's redundant either with f.fe.Func().Sym().Pkg.Path (package path of the function being compiled) or f.Config.ctxt.Pkgpath (package path of the compilation unit), so just remove it instead. Change-Id: I1daae09055043d0ecb1fcc874a0b0006a6f8bddf Reviewed-on: https://go-review.googlesource.com/c/go/+/526516 Auto-Submit: Matthew Dempsky <mdempsky@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/encoding/json')
0 files changed, 0 insertions, 0 deletions