cmd/compile: remove Pkglookup in favor of Lookup

Remove one of the many lookup variants.

Change-Id: I4095aa030da4227540badd6724bbf50b728fbe93
Reviewed-on: https://go-review.googlesource.com/38990
Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
Robert Griesemer 2017-03-30 13:19:18 -07:00
parent f7027b4b2d
commit ac99ade5a0
10 changed files with 49 additions and 53 deletions

View file

@ -560,7 +560,7 @@ func makepartialcall(fn *Node, t0 *Type, meth *Sym) *Node {
spkg = makepartialcall_gopkg
}
sym := Pkglookup(p, spkg)
sym := spkg.Lookup(p)
if sym.Uniq() {
return sym.Def