]> Cypherpunks.ru repositories - gostls13.git/commitdiff
cmd/compile/internal/inl: remove some spurious debugging code
authorThan McIntosh <thanm@google.com>
Wed, 20 Sep 2023 16:37:28 +0000 (12:37 -0400)
committerThan McIntosh <thanm@google.com>
Wed, 8 Nov 2023 15:03:35 +0000 (15:03 +0000)
Remove a bit of debugging code accidentally left in as
part of CL 521819.

Change-Id: I5c8aa490a00136360fb52d72f3f92d72e150ec0f
Reviewed-on: https://go-review.googlesource.com/c/go/+/530577
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/inline/inlheur/score_callresult_uses.go

index 6a306d452212fd756e9f68177f44051baa2ea80b..61dc7520abe29683d6c2efbbcf694bbdf094f899 100644 (file)
@@ -47,9 +47,6 @@ type resultUseAnalyzer struct {
 // and tries to update the scores of calls based on how their results
 // are used in the function.
 func rescoreBasedOnCallResultUses(fn *ir.Func, resultNameTab map[*ir.Name]resultPropAndCS, cstab CallSiteTab) {
-       if os.Getenv("THANM_DEBUG") != "" {
-               return
-       }
        enableDebugTraceIfEnv()
        rua := &resultUseAnalyzer{
                resultNameTab:    resultNameTab,