Commit 33c06b1d authored by Kevin Burke's avatar Kevin Burke Committed by Dave Cheney

cmd/compile: fix spelling mistake

Change-Id: Id900636ee58a39aaa3dc1c601cb83706d3e2fbe8
Reviewed-on: https://go-review.googlesource.com/67190Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
parent 1b873f5f
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment