]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.link] cmd/internal/goobj2: fix comment
authorThan McIntosh <thanm@google.com>
Tue, 16 Jun 2020 20:58:28 +0000 (16:58 -0400)
committerThan McIntosh <thanm@google.com>
Tue, 16 Jun 2020 22:15:53 +0000 (22:15 +0000)
Fix a stale comment.

Change-Id: Ic14616310cd8e8703cfc7b1ce50c411be34488fa
Reviewed-on: https://go-review.googlesource.com/c/go/+/238243
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/goobj2/objfile.go

index 7354c219c453965c2694c4a6e28cb0e910a665ad..433eafa559dbe477fa94bd3f8a9dbaf7678f3d19 100644 (file)
@@ -139,7 +139,7 @@ func (fp FingerprintType) IsZero() bool { return fp == FingerprintType{} }
 // Package Index.
 const (
        PkgIdxNone    = (1<<31 - 1) - iota // Non-package symbols
-       PkgIdxBuiltin                      // Predefined symbols // TODO: not used for now, we could use it for compiler-generated symbols like runtime.newobject
+       PkgIdxBuiltin                      // Predefined runtime symbols (ex: runtime.newobject)
        PkgIdxSelf                         // Symbols defined in the current package
        PkgIdxInvalid = 0
        // The index of other referenced packages starts from 1.