]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix typo in comment
authorguoguangwu <guoguangwug@gmail.com>
Fri, 15 Mar 2024 08:12:33 +0000 (08:12 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 15 Mar 2024 18:30:58 +0000 (18:30 +0000)
Change-Id: Iec9ed110c4d5a417bd9de0434147665fd3633899
GitHub-Last-Rev: d2154f9ea12bc1fbb8f7c4feae2060e2534fa5d2
GitHub-Pull-Request: golang/go#66332
Reviewed-on: https://go-review.googlesource.com/c/go/+/571876
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>

src/cmd/compile/internal/inline/inl.go

index 8d2de224736bdde349c90b9d5d218493b8f3aeba..dd300bbd51d45ae6a07cf383549a1a0fa1a68143 100644 (file)
@@ -1018,7 +1018,7 @@ func mkinlcall(callerfn *ir.Func, n *ir.CallExpr, fn *ir.Func, bigCaller bool) *
                // Decls).
                //
                // However, non-trivial closures in Decls are ignored, and are
-               // insteaded enqueued when walk of the calling function
+               // instead enqueued when walk of the calling function
                // discovers them.
                //
                // This presents a problem for direct calls to closures.