1
0
mirror of https://github.com/golang/go synced 2024-11-23 09:10:08 -07:00

cmd/compile: document Sym flags

Change-Id: Id14b417095628c7a1dc7a8e47bc28cfa392b5262
Reviewed-on: https://go-review.googlesource.com/c/146498
Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
Austin Clements 2018-10-24 17:59:25 -04:00
parent 6c9b655ac1
commit 3f485e14b2

View File

@ -39,9 +39,9 @@ type Sym struct {
const (
symOnExportList = 1 << iota // added to exportlist (no need to add again)
symUniq
symSiggen
symAsm
symAlgGen
symSiggen // type symbol has been generated
symAsm // on asmlist, for writing to -asmhdr
symAlgGen // algorithm table has been generated
)
func (sym *Sym) OnExportList() bool { return sym.flags&symOnExportList != 0 }