• Josh Bleecher Snyder's avatar
    cmd/compile: move Linksym, linksymname, and isblanksym to types package · 30940e2c
    Josh Bleecher Snyder authored
    Response to code review feedback on CL 40693.
    
    This CL was prepared by:
    
    (1) manually adding new implementations and the Ctxt var to package types
    
    (2) running eg with template:
    
    func before(s *types.Sym) *obj.LSym { return gc.Linksym(s) }
    func after(s *types.Sym) *obj.LSym  { return s.Linksym() }
    
    (3) running gofmt -r:
    
    gofmt -r 'isblanksym(a) -> a.IsBlank()'
    
    (4) manually removing old implementations from package gc
    
    Passes toolstash-check.
    
    Change-Id: I39c35def7cae5bcbcc7c77253e5d2b066b981dea
    Reviewed-on: https://go-review.googlesource.com/41302
    Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRobert Griesemer <gri@golang.org>
    30940e2c
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...