cmd/compile/internal/noder: correct spelling errors for instantiation

Change-Id: I8091b3181e6dd0c335763c411a6a64026fe5a651
GitHub-Last-Rev: 505c6caa9c
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>
This commit is contained in:
jacobishao 2022-07-24 12:38:48 +00:00 committed by Gopher Robot
parent c5da4fb7ac
commit 2ff563a00e

View 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 {