]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix typo in comment
authorRulin Tang <smiletrl@outlook.com>
Tue, 9 Jan 2024 02:39:36 +0000 (02:39 +0000)
committerRobert Griesemer <gri@google.com>
Mon, 22 Jan 2024 17:32:38 +0000 (17:32 +0000)
Change-Id: Ie3f1f194489dd4cfd995bfaf292e1c311b37597b
GitHub-Last-Rev: 6a363297785187188923a76456b468ef1bc1a656
GitHub-Pull-Request: golang/go#65008
Reviewed-on: https://go-review.googlesource.com/c/go/+/554136
Reviewed-by: Roland Shoemaker <roland@golang.org>
Reviewed-by: Peter Weinberger <pjw@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Bypass: Robert Griesemer <gri@google.com>

src/cmd/compile/internal/ir/node.go

index 6513386f03f2f98f69f0448ac6df51edf29244b0..21d181dba62ae4ae537bf956556f0fdcc101962c 100644 (file)
@@ -152,7 +152,7 @@ const (
        // OCALLFUNC, OCALLMETH, and OCALLINTER have the same structure.
        // Prior to walk, they are: X(Args), where Args is all regular arguments.
        // After walk, if any argument whose evaluation might requires temporary variable,
-       // that temporary variable will be pushed to Init, Args will contains an updated
+       // that temporary variable will be pushed to Init, Args will contain an updated
        // set of arguments.
        OCALLFUNC  // X(Args) (function call f(args))
        OCALLMETH  // X(Args) (direct method call x.Method(args))