]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: fix typo, func comments should start with function name
authorZhou Peng <p@ctriple.cn>
Fri, 2 Mar 2018 11:51:22 +0000 (11:51 +0000)
committerAlberto Donizetti <alb.donizetti@gmail.com>
Fri, 2 Mar 2018 12:03:30 +0000 (12:03 +0000)
Change-Id: I289af4884583537639800e37928c22814d38cba9
Reviewed-on: https://go-review.googlesource.com/98115
Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com>
src/runtime/mbitmap.go

index 294e3739b7d60958a694008e4a56655ad10867ad..afaec5556916598697f8afc1a1b5e43804535e2e 100644 (file)
@@ -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.