Skip to content

Commit 5123f38

Browse files
fengyoulinrandall77
authored andcommitted
cmd/compile: update comment for initLimit in prove pass
For: #70156 Change-Id: Ie39a88130f27b4b210ddbcf396cc0ddd2713d58b Reviewed-on: https://go-review.googlesource.com/c/go/+/624855 Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: David Chase <drchase@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
1 parent e67c0f0 commit 5123f38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cmd/compile/internal/ssa/prove.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,8 @@ func prove(f *Func) {
15691569

15701570
// initLimit sets initial constant limit for v. This limit is based
15711571
// only on the operation itself, not any of its input arguments. This
1572-
// method is only called once on prove pass startup (unlike
1572+
// method is only used in two places, once when the prove pass startup
1573+
// and the other when a new ssa value is created, both for init. (unlike
15731574
// flowLimit, below, which computes additional constraints based on
15741575
// ranges of opcode arguments).
15751576
func initLimit(v *Value) limit {

0 commit comments

Comments
 (0)