]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: document Sym flags
authorAustin Clements <austin@google.com>
Wed, 24 Oct 2018 21:59:25 +0000 (17:59 -0400)
committerAustin Clements <austin@google.com>
Thu, 1 Nov 2018 14:22:28 +0000 (14:22 +0000)
Change-Id: Id14b417095628c7a1dc7a8e47bc28cfa392b5262
Reviewed-on: https://go-review.googlesource.com/c/146498
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/types/sym.go

index 49233ad386e69d2bd7a4cdae359d1579a86d8bfb..b7fd7ae9fbbbe3f84fe148d1017ce333bcef41d8 100644 (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 }