From: Zhou Peng
Date: Fri, 2 Mar 2018 11:51:22 +0000 (+0000)
Subject: runtime: fix typo, func comments should start with function name
X-Git-Tag: go1.11beta1~1377
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b77aad089176ecab971d3a72f0357ed0abc81f4a;p=gostls13.git
runtime: fix typo, func comments should start with function name
Change-Id: I289af4884583537639800e37928c22814d38cba9
Reviewed-on: https://go-review.googlesource.com/98115
Reviewed-by: Alberto Donizetti
---
diff --git a/src/runtime/mbitmap.go b/src/runtime/mbitmap.go
index 294e3739b7..afaec55569 100644
--- a/src/runtime/mbitmap.go
+++ b/src/runtime/mbitmap.go
@@ -170,7 +170,7 @@ func (s *mspan) allocBitsForIndex(allocBitIndex uintptr) markBits {
return markBits{bytep, mask, allocBitIndex}
}
-// refillaCache takes 8 bytes s.allocBits starting at whichByte
+// refillAllocCache takes 8 bytes s.allocBits starting at whichByte
// and negates them so that ctz (count trailing zeros) instructions
// can be used. It then places these 8 bytes into the cached 64 bit
// s.allocCache.