From: Kevin Burke Date: Fri, 29 Sep 2017 17:01:56 +0000 (-0700) Subject: cmd/compile: fix spelling mistake X-Git-Tag: go1.10beta1~934 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=33c06b1d46522d7a0f34e0662ecb4c4eba6ffd3c;p=gostls13.git cmd/compile: fix spelling mistake Change-Id: Id900636ee58a39aaa3dc1c601cb83706d3e2fbe8 Reviewed-on: https://go-review.googlesource.com/67190 Reviewed-by: Ian Lance Taylor --- diff --git a/src/cmd/compile/internal/ssa/nilcheck.go b/src/cmd/compile/internal/ssa/nilcheck.go index 1f789df2a8..b107f8a836 100644 --- a/src/cmd/compile/internal/ssa/nilcheck.go +++ b/src/cmd/compile/internal/ssa/nilcheck.go @@ -168,7 +168,7 @@ func nilcheckelim2(f *Func) { // input pointer is nil. Remove nil checks on those pointers, as the // faulting instruction effectively does the nil check for free. unnecessary.clear() - // Optimization: keep track of removed nilckeck with smallest index + // Optimization: keep track of removed nilcheck with smallest index firstToRemove := len(b.Values) for i := len(b.Values) - 1; i >= 0; i-- { v := b.Values[i]