]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix debugFormat for new export format
authorRobert Griesemer <gri@golang.org>
Wed, 4 May 2016 22:13:36 +0000 (15:13 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 4 May 2016 22:15:54 +0000 (22:15 +0000)
Change-Id: Ic3415f3ee643636eab4ff7d2351b8ad0dae62895
Reviewed-on: https://go-review.googlesource.com/22792
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/bimport.go

index 7eb97355aae3abed63b2738fab3540d8cb0a00a5..167a36b2c02dc1a08298e826a3bd53ef44311555 100644 (file)
@@ -1103,7 +1103,7 @@ func (p *importer) int64() int64 {
 }
 
 func (p *importer) string() string {
-       if debugFormat {
+       if p.debugFormat {
                p.marker('s')
        }
        // if the string was seen before, i is its index (>= 0)