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:
Shahar Kohanim 2016-03-23 14:02:36 +02:00 committed by David Crawshaw
parent 53efe1e121
commit 516c6b4085
5 changed files with 11 additions and 18 deletions

View file

@ -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)
}
}