go/callgraph/rta: fix comment

Change-Id: I52d37297118f9e99f3a71d3a9cf47a01da4aa72c
Reviewed-on: https://go-review.googlesource.com/c/38260
Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
Michael Stapelberg 2017-03-17 04:49:50 -07:00 committed by Alan Donovan
parent 8542fc29bd
commit 138c20b932
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ func (r *rta) visitDynCall(site ssa.CallInstruction) {
r.dynCallSites.Set(S, append(sites, site))
// For each function of signature S that we know is address-taken,
// mark it reachable. We'll add the callgraph edges later.
// add an edge and mark it reachable.
funcs, _ := r.addrTakenFuncsBySig.At(S).(map[*ssa.Function]bool)
for g := range funcs {
r.addEdge(site, g, true)