1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:04:44 -07:00

go/pointer: clarify a comment

Change-Id: Ia434ca4e7259cdb9a6f50d51432977fd31be27db
Reviewed-on: https://go-review.googlesource.com/21391
Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
Alan Donovan 2016-04-01 10:32:03 -04:00
parent 84e7bc0dd3
commit 6361b5799a

View File

@ -1289,7 +1289,9 @@ func (a *analysis) generate() {
a.genMethodsOf(T)
}
// Generate constraints for entire program.
// Generate constraints for functions as they become reachable
// from the roots. (No constraints are generated for functions
// that are dead in this analysis scope.)
for len(a.genq) > 0 {
cgn := a.genq[0]
a.genq = a.genq[1:]