mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
f7027b4b2d
commit
ac99ade5a0
10 changed files with 49 additions and 53 deletions
|
|
@ -727,7 +727,7 @@ func loadsys() {
|
|||
|
||||
typs := runtimeTypes()
|
||||
for _, d := range runtimeDecls {
|
||||
sym := Pkglookup(d.name, Runtimepkg)
|
||||
sym := Runtimepkg.Lookup(d.name)
|
||||
typ := typs[d.typ]
|
||||
switch d.tag {
|
||||
case funcTag:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue