]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile/internal/noder: correct spelling errors for instantiation
authorjacobishao <shaojacobi@gmail.com>
Sun, 24 Jul 2022 12:38:48 +0000 (12:38 +0000)
committerGopher Robot <gobot@golang.org>
Sun, 24 Jul 2022 21:02:10 +0000 (21:02 +0000)
Change-Id: I8091b3181e6dd0c335763c411a6a64026fe5a651
GitHub-Last-Rev: 505c6caa9cd4538f76dde4287b9266e8947e395e
GitHub-Pull-Request: golang/go#54024
Reviewed-on: https://go-review.googlesource.com/c/go/+/419315
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>

src/cmd/compile/internal/noder/stencil.go

index 1ba561b8b960d61259fb3abbb8cee95999815ac8..280f7cdf1c0e2c4055cac0c2371592b19b37cfae 100644 (file)
@@ -623,7 +623,7 @@ func checkFetchBody(nameNode *ir.Name) {
        }
 }
 
-// getInstantiation gets the instantiantion and dictionary of the function or method nameNode
+// getInstantiation gets the instantiation and dictionary of the function or method nameNode
 // with the type arguments shapes. If the instantiated function is not already
 // cached, then it calls genericSubst to create the new instantiation.
 func (g *genInst) getInstantiation(nameNode *ir.Name, shapes []*types.Type, isMeth bool) *instInfo {