]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: remove unused Type.Printed field
authorMatthew Dempsky <mdempsky@google.com>
Tue, 30 Aug 2016 18:33:18 +0000 (11:33 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 30 Aug 2016 18:47:47 +0000 (18:47 +0000)
Change-Id: Iff2b1507dce08ef7c27085c8e0f45d0e3e88c476
Reviewed-on: https://go-review.googlesource.com/28152
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/cmd/compile/internal/gc/type.go
src/cmd/compile/internal/gc/typecheck.go

index 3810bb878e6a82ca0d047bf37b31b1e64566b3bd..12cb3b59930fd9e2b84607b761cad701769ea9e6 100644 (file)
@@ -153,7 +153,6 @@ type Type struct {
        Etype      EType // kind of type
        Noalg      bool  // suppress hash and eq algorithm generation
        Trecur     uint8 // to detect loops
-       Printed    bool  // prevent duplicate export printing
        Local      bool  // created in this file
        Deferwidth bool
        Broke      bool  // broken type definition.
index 0bda4e046bb3c89c5b3ae9a2af2dba19cf2cd7bc..c97b33d91b7b8314a39bb8c3338635d875085a9c 100644 (file)
@@ -3492,7 +3492,6 @@ func copytype(n *Node, t *Type) {
        t.methods = Fields{}
        t.allMethods = Fields{}
        t.Nod = nil
-       t.Printed = false
        t.Deferwidth = false
 
        // Update nodes waiting on this type.