]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: cleanup noLimit in prove
authorJorropo <jorropo.pgm@gmail.com>
Sun, 7 Dec 2025 03:08:28 +0000 (04:08 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 23 Jan 2026 20:10:19 +0000 (12:10 -0800)
commit8f739162e6479e98b0950ac9dc2f69cd79031be2
tree1d6e43d22dcf69c05aafe089950ca5616b5a2ebf
parentf35fb95503575f9a198c21b34db15ae5f354b635
cmd/compile: cleanup noLimit in prove

- make it immutable
- calculate it rather than using hardcoded value
  (it all is inlined and constant folded away into noLimit's callers)

Change-Id: Ica12442df4d03e99123e62c0fe561c1078e35d75
Reviewed-on: https://go-review.googlesource.com/c/go/+/727181
Auto-Submit: Jorropo <jorropo.pgm@gmail.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/ssa/prove.go