1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:04:43 -07:00

runtime: add comment to mgc0.h

Missed that comment in CL 153990043.

LGTM=khr
R=khr
CC=golang-codereviews
https://golang.org/cl/156010043
This commit is contained in:
Dmitriy Vyukov 2014-10-09 17:05:38 +04:00
parent e3727df550
commit f1c0899e6f

View File

@ -42,6 +42,8 @@ enum {
BitsMask = (1<<BitsPerPointer)-1,
PointersPerByte = 8/BitsPerPointer,
// If you change these, also change scanblock.
// scanblock does "if(bits == BitsScalar || bits == BitsDead)" as "if(bits <= BitsScalar)".
BitsDead = 0,
BitsScalar = 1,
BitsPointer = 2,