From: Austin Clements Date: Wed, 30 Nov 2016 20:48:33 +0000 (-0500) Subject: runtime: fix incorrect comment about bitvector layout X-Git-Tag: go1.8beta2~128 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ea1b90f855fe2891ff0f39d3a3f4b0a5f72a04ed;p=gostls13.git runtime: fix incorrect comment about bitvector layout Commit 303b69fe packed bitvectors more tightly, but missed a comment describing their old layout. Update that comment. Change-Id: I095ccb01f245197054252545f37b40605a550dec Reviewed-on: https://go-review.googlesource.com/33718 Reviewed-by: Matthew Dempsky --- diff --git a/src/runtime/symtab.go b/src/runtime/symtab.go index 8a5b0df310..f52190661c 100644 --- a/src/runtime/symtab.go +++ b/src/runtime/symtab.go @@ -666,7 +666,7 @@ func readvarint(p []byte) (newp []byte, val uint32) { type stackmap struct { n int32 // number of bitmaps nbit int32 // number of bits in each bitmap - bytedata [1]byte // bitmaps, each starting on a 32-bit boundary + bytedata [1]byte // bitmaps, each starting on a byte boundary } //go:nowritebarrier