aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2023-09-20 12:37:28 -0400
committerThan McIntosh <thanm@google.com>2023-11-08 15:03:35 +0000
commit9d3b3416a4a1fe6778370d7ec050355cbaf30dfe (patch)
tree1ce1525bfb30789f213497fad33db423927e196e /src
parent04d64a3b36f872e97d965197337d001d5361d71c (diff)
downloadgo-9d3b3416a4a1fe6778370d7ec050355cbaf30dfe.tar.xz
cmd/compile/internal/inl: remove some spurious debugging code
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>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/internal/inline/inlheur/score_callresult_uses.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmd/compile/internal/inline/inlheur/score_callresult_uses.go b/src/cmd/compile/internal/inline/inlheur/score_callresult_uses.go
index 6a306d4522..61dc7520ab 100644
--- a/src/cmd/compile/internal/inline/inlheur/score_callresult_uses.go
+++ b/src/cmd/compile/internal/inline/inlheur/score_callresult_uses.go
@@ -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,