mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: unexport types.Sym.LSym
Response to code review feedback on CL 40693. Remove the final reference to it from package gc, and manually unexport. Passes toolstash-check. Change-Id: I7fc48edd43263d8f7c56b47aeb7573408463dc22 Reviewed-on: https://go-review.googlesource.com/41303 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
This commit is contained in:
parent
30940e2cc2
commit
0d50a49f5c
2 changed files with 6 additions and 5 deletions
|
|
@ -1338,7 +1338,8 @@ ok:
|
|||
keep = true
|
||||
}
|
||||
}
|
||||
s.Lsym.Set(obj.AttrMakeTypelink, keep)
|
||||
// TODO(josharian): add lsym local variable above, use here instead of calling Linksym()
|
||||
s.Linksym().Set(obj.AttrMakeTypelink, keep)
|
||||
|
||||
return s
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue