]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove no-longer-necessary call to calculateDepths
authorKeith Randall <khr@golang.org>
Fri, 25 Jul 2025 21:15:50 +0000 (14:15 -0700)
committerGopher Robot <gobot@golang.org>
Sat, 26 Jul 2025 00:43:10 +0000 (17:43 -0700)
commit6fbad4be75e7746512bbe55794694ed788ea5c5b
treed5caad9ffeb8f06b4113056a9b61e9c0e53bfdaf
parent5045fdd8ff8769c34e837fbfb0894a72dfa73b4d
cmd/compile: remove no-longer-necessary call to calculateDepths

We now calculate depths by default, no need to ask.
All calls were removed in CL 680775 when that CL was written, but an
additional call appeared between then and submitting the CL. Oops.

Another case for which a presubmit check would help.

Fixes #74762

Change-Id: I1b70ed7f91b56e4939b4a3d0ad7a5f31fe396b4c
Reviewed-on: https://go-review.googlesource.com/c/go/+/690036
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: t hepudds <thepudds1460@gmail.com>
src/cmd/compile/internal/ssa/likelyadjust.go
src/cmd/compile/internal/ssa/looprotate.go