]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: change two pushedio.bin tests to use importpkg instead
authorMatthew Dempsky <mdempsky@google.com>
Sat, 20 Feb 2016 02:39:25 +0000 (18:39 -0800)
committerMatthew Dempsky <mdempsky@google.com>
Sat, 20 Feb 2016 04:40:29 +0000 (04:40 +0000)
commit4e6e8e8c582bcd7d74378be31f070eecf0f1d5e4
treec3ec63ca86b67373c5997095907c4e14d94a5842
parentf8e41f6f5907ce832cc263bdce749117d4d0b342
cmd/compile: change two pushedio.bin tests to use importpkg instead

pushedio.bin and importpkg are both non-nil iff we're parsing an
package's export data, so "pushedio.bin == nil" and "importpkg == nil"
are equivalent tests.

Change-Id: I571ee908fef867117ef72c5da1eb24fe9b3fd12d
Reviewed-on: https://go-review.googlesource.com/19751
Reviewed-by: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/gc/lex.go