From: Austin Clements Date: Wed, 24 Oct 2018 21:59:25 +0000 (-0400) Subject: cmd/compile: document Sym flags X-Git-Tag: go1.12beta1~555 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3f485e14b2ca9d6e74471f2c3c9aa0b732971d51;p=gostls13.git cmd/compile: document Sym flags Change-Id: Id14b417095628c7a1dc7a8e47bc28cfa392b5262 Reviewed-on: https://go-review.googlesource.com/c/146498 Reviewed-by: Robert Griesemer --- diff --git a/src/cmd/compile/internal/types/sym.go b/src/cmd/compile/internal/types/sym.go index 49233ad386..b7fd7ae9fb 100644 --- a/src/cmd/compile/internal/types/sym.go +++ b/src/cmd/compile/internal/types/sym.go @@ -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 }