aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2024-02-06 15:37:51 -0500
committerGopher Robot <gobot@golang.org>2024-02-06 21:03:43 +0000
commitc18ddc84e1ec6406b26f7e9d0e1ee3d1908d7c27 (patch)
treebf944fd8ecbb63a73599c24805f8d500ed75a789 /src/cmd/compile
parent4b0e086348c99eaa458f18e4b3e4498f0aaadc1a (diff)
downloadgo-c18ddc84e1ec6406b26f7e9d0e1ee3d1908d7c27.tar.xz
cmd/compile: add missing colon in debug log
Change-Id: Id76f4688a2ac45c1616d5c03274eec5d2108e555 Reviewed-on: https://go-review.googlesource.com/c/go/+/562156 Auto-Submit: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/cmd/compile')
-rw-r--r--src/cmd/compile/internal/devirtualize/pgo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/devirtualize/pgo.go b/src/cmd/compile/internal/devirtualize/pgo.go
index 170bf74673..5cc9fab54c 100644
--- a/src/cmd/compile/internal/devirtualize/pgo.go
+++ b/src/cmd/compile/internal/devirtualize/pgo.go
@@ -740,7 +740,7 @@ func findHotConcreteCallee(p *pgo.Profile, caller *ir.Func, call *ir.CallExpr, e
}
if base.Debug.PGODebug >= 2 {
- fmt.Printf("%v call %s:%d: hottest callee %s (weight %d)\n", ir.Line(call), callerName, callOffset, hottest.Dst.Name(), hottest.Weight)
+ fmt.Printf("%v: call %s:%d: hottest callee %s (weight %d)\n", ir.Line(call), callerName, callOffset, hottest.Dst.Name(), hottest.Weight)
}
return hottest.Dst.AST, hottest.Weight
}