From: pierwill Date: Thu, 3 Feb 2022 15:44:53 +0000 (+0000) Subject: cmd/compile: correct doc comment name for OrderedOrEqual X-Git-Tag: go1.18rc1~77 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1fe8f47cc39aec39fca3e6f367a7c1c7b254014f;p=gostls13.git cmd/compile: correct doc comment name for OrderedOrEqual 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 Trust: Cherry Mui --- diff --git a/src/cmd/compile/internal/ssa/poset.go b/src/cmd/compile/internal/ssa/poset.go index d2719eb8a1..ee884ca761 100644 --- a/src/cmd/compile/internal/ssa/poset.go +++ b/src/cmd/compile/internal/ssa/poset.go @@ -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).