diff options
| author | Michael Pratt <mpratt@google.com> | 2024-03-05 11:04:26 -0500 |
|---|---|---|
| committer | Michael Pratt <mpratt@google.com> | 2024-03-27 20:42:52 +0000 |
| commit | 0c5612092deb0a50c5a3d67babc1249049595558 (patch) | |
| tree | fe025d6fc964460aa2e65f25b9dfcac5e210a762 /src/cmd/compile/internal/noder | |
| parent | 63deaf00ea6058d1422f0b435e475666cba5743e (diff) | |
| download | go-0c5612092deb0a50c5a3d67babc1249049595558.tar.xz | |
cmd/compile: rename cmd/compile/internal/pgo to cmd/compile/internal/pgoir
This helps reduce confusion with cmd/internal/pgo, which performs
compilation-independent analysis. pgoir associates that data with the
IR from the current package compilation.
For #58102.
Change-Id: I9ef1c8bc41db466d3340f41f6d071b95c09566de
Reviewed-on: https://go-review.googlesource.com/c/go/+/569338
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/compile/internal/noder')
| -rw-r--r-- | src/cmd/compile/internal/noder/unified.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/noder/unified.go b/src/cmd/compile/internal/noder/unified.go index 492b00d256..da04ac5a2a 100644 --- a/src/cmd/compile/internal/noder/unified.go +++ b/src/cmd/compile/internal/noder/unified.go @@ -15,7 +15,7 @@ import ( "cmd/compile/internal/base" "cmd/compile/internal/inline" "cmd/compile/internal/ir" - "cmd/compile/internal/pgo" + "cmd/compile/internal/pgoir" "cmd/compile/internal/typecheck" "cmd/compile/internal/types" "cmd/compile/internal/types2" @@ -175,7 +175,7 @@ func lookupMethod(pkg *types.Pkg, symName string) (*ir.Func, error) { func unified(m posMap, noders []*noder) { inline.InlineCall = unifiedInlineCall typecheck.HaveInlineBody = unifiedHaveInlineBody - pgo.LookupFunc = LookupFunc + pgoir.LookupFunc = LookupFunc data := writePkgStub(m, noders) |
