From: Matthew Dempsky Date: Tue, 30 Aug 2016 18:33:18 +0000 (-0700) Subject: cmd/compile: remove unused Type.Printed field X-Git-Tag: go1.8beta1~1568 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6a982c390138fb2af49f85c4aeea2bce3222eb20;p=gostls13.git cmd/compile: remove unused Type.Printed field Change-Id: Iff2b1507dce08ef7c27085c8e0f45d0e3e88c476 Reviewed-on: https://go-review.googlesource.com/28152 Run-TryBot: Matthew Dempsky Reviewed-by: Robert Griesemer TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/compile/internal/gc/type.go b/src/cmd/compile/internal/gc/type.go index 3810bb878e..12cb3b5993 100644 --- a/src/cmd/compile/internal/gc/type.go +++ b/src/cmd/compile/internal/gc/type.go @@ -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. diff --git a/src/cmd/compile/internal/gc/typecheck.go b/src/cmd/compile/internal/gc/typecheck.go index 0bda4e046b..c97b33d91b 100644 --- a/src/cmd/compile/internal/gc/typecheck.go +++ b/src/cmd/compile/internal/gc/typecheck.go @@ -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.