]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: correct doc comment name for OrderedOrEqual
authorpierwill <pierwill@users.noreply.github.com>
Thu, 3 Feb 2022 15:44:53 +0000 (15:44 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 8 Feb 2022 21:31:01 +0000 (21:31 +0000)
Change-Id: I9ac2565f8d39a30c5f10d924a934441b30e12e98
GitHub-Last-Rev: 6943ac4ac52c29023da59965e5b2dcc5cb7b0b9a
GitHub-Pull-Request: golang/go#50983
Reviewed-on: https://go-review.googlesource.com/c/go/+/382459
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Cherry Mui <cherryyz@google.com>

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

index d2719eb8a1d9d4f9b4cbda90e1a1a6b4ef1c0ab2..ee884ca7610f21846fd252aee6c0a8977450cd9b 100644 (file)
@@ -906,7 +906,7 @@ func (po *poset) Ordered(n1, n2 *Value) bool {
        return i1 != i2 && po.reaches(i1, i2, true)
 }
 
-// Ordered reports whether n1<=n2. It returns false either when it is
+// OrderedOrEqual reports whether n1<=n2. It returns false either when it is
 // certain that n1<=n2 is false, or if there is not enough information
 // to tell.
 // Complexity is O(n).