diff options
| author | Jes Cok <xigua67damn@gmail.com> | 2023-09-04 12:14:50 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-09-04 17:23:05 +0000 |
| commit | 778f5fc0793e72aaf70f2331566f45cb858e57b6 (patch) | |
| tree | c6b5df9b80685f7aac5bd45a54912d61a476f544 /src | |
| parent | 33d4a5105cf2b2d549922e909e9239a48b8cefcc (diff) | |
| download | go-778f5fc0793e72aaf70f2331566f45cb858e57b6.tar.xz | |
cmd/compile/internal/ssa: fix typos in comments
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/compile/internal/ssa/poset.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/compile/internal/ssa/poset.go b/src/cmd/compile/internal/ssa/poset.go index fd2887d020..7b64843fe9 100644 --- a/src/cmd/compile/internal/ssa/poset.go +++ b/src/cmd/compile/internal/ssa/poset.go @@ -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 } |
