mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/link: Clean up Pcln struct
Removes unnecessary fields from Pcln. Change-Id: I175049ca749b510eedaf65162355bc4d7a93315e Reviewed-on: https://go-review.googlesource.com/21041 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
parent
53efe1e121
commit
516c6b4085
5 changed files with 11 additions and 18 deletions
|
|
@ -344,7 +344,7 @@ func (d *deadcodepass) flood() {
|
|||
}
|
||||
|
||||
if s.Pcln != nil {
|
||||
for i := 0; i < s.Pcln.Nfuncdata; i++ {
|
||||
for i := range s.Pcln.Funcdata {
|
||||
d.mark(s.Pcln.Funcdata[i], s)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue