]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/ssa: fix typos in comments
authorJes Cok <xigua67damn@gmail.com>
Mon, 4 Sep 2023 12:14:50 +0000 (12:14 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 4 Sep 2023 17:23:05 +0000 (17:23 +0000)
Change-Id: Idb09d68ce1e4823c8a330430e082d5c7ac2d8fc5
GitHub-Last-Rev: 5a2b71b21eb83a100c63c1fd1c1c5cab231a49ad
GitHub-Pull-Request: golang/go#62441
Reviewed-on: https://go-review.googlesource.com/c/go/+/525415
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Keith Randall <khr@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/compile/internal/ssa/poset.go

index fd2887d020df718256cc0c58b308bf73b7caf5af..7b64843fe964d2fe38921e101b41aa49c69c68c9 100644 (file)
@@ -122,7 +122,7 @@ type posetNode struct {
 // poset is implemented as a forest of DAGs; in each DAG, if there is a path (directed)
 // from node A to B, it means that A<B (or A<=B). Equality is represented by mapping
 // two SSA values to the same DAG node; when a new equality relation is recorded
-// between two existing nodes,the nodes are merged, adjusting incoming and outgoing edges.
+// between two existing nodes, the nodes are merged, adjusting incoming and outgoing edges.
 //
 // Constants are specially treated. When a constant is added to the poset, it is
 // immediately linked to other constants already present; so for instance if the
@@ -1065,7 +1065,7 @@ func (po *poset) setOrder(n1, n2 *Value, strict bool) bool {
                                return true
                        }
 
-                       // Case #1, #3 o #4: nothing to do
+                       // Case #1, #3, or #4: nothing to do
                        return true
                }