• Matthew Dempsky's avatar
    cmd/compile: remove incannedimport · 1ee54464
    Matthew Dempsky authored
    This used to be used to give special semantics to the builtin
    definitions of package runtime and unsafe, but none of those are
    relevant anymore:
    
    - The builtin runtime and unsafe packages do not risk triggering false
      import cycles since they no longer contain `import "runtime"`.
    
    - bimport.go never creates ODCLTYPE, so no need to special case them.
    
    - "incannedimport != 0" is only true when "importpkg != nil" anyway,
      so "incannedimport == 0 && importpkg == nil" is equivalent to just
      "importpkg == nil".
    
    Change-Id: I076f15dd705d4962e7a4c33972e304ef67e7effb
    Reviewed-on: https://go-review.googlesource.com/29084
    Run-TryBot: Matthew Dempsky <mdempsky@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    1ee54464
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...