aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-11-30 15:48:33 -0500
committerAustin Clements <austin@google.com>2016-12-01 16:42:47 +0000
commitea1b90f855fe2891ff0f39d3a3f4b0a5f72a04ed (patch)
tree665b4a61a9da12737e241ff5774a4b9bd5f20cc4 /src
parent8a103bd4ce34574c33d1f3558e0441df884c27f1 (diff)
downloadgo-ea1b90f855fe2891ff0f39d3a3f4b0a5f72a04ed.tar.xz
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 <mdempsky@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/runtime/symtab.go2
1 files changed, 1 insertions, 1 deletions
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