]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: add missing colon in debug log
authorMichael Pratt <mpratt@google.com>
Tue, 6 Feb 2024 20:37:51 +0000 (15:37 -0500)
committerGopher Robot <gobot@golang.org>
Tue, 6 Feb 2024 21:03:43 +0000 (21:03 +0000)
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>
src/cmd/compile/internal/devirtualize/pgo.go

index 170bf746739e7ba6b9cd792fa538f712fb654a3e..5cc9fab54c5c145d78773711a3c2c91a32385a9e 100644 (file)
@@ -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
 }