]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix spelling mistake
authorKevin Burke <kev@inburke.com>
Fri, 29 Sep 2017 17:01:56 +0000 (10:01 -0700)
committerDave Cheney <dave@cheney.net>
Fri, 29 Sep 2017 20:54:55 +0000 (20:54 +0000)
Change-Id: Id900636ee58a39aaa3dc1c601cb83706d3e2fbe8
Reviewed-on: https://go-review.googlesource.com/67190
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/compile/internal/ssa/nilcheck.go

index 1f789df2a8e0689a79cf6f454c5470bf8f834b0f..b107f8a836c1bf49b0b5a0672081d6ca28d7b51e 100644 (file)
@@ -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]