]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: remove InterMethod type - not used anywhere
authorRobert Griesemer <gri@golang.org>
Thu, 6 Apr 2017 03:24:48 +0000 (20:24 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 6 Apr 2017 03:54:03 +0000 (03:54 +0000)
Change-Id: I2c402d9491b373316775b515ce389555e58acb1a
Reviewed-on: https://go-review.googlesource.com/39636
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/sizeof_test.go
src/cmd/compile/internal/gc/type.go

index 06a3bf5bb810a3626a7511a892977f53cfe1f97a..2c6fecac67a49aa31af8bc8bdced9c0bbebb9ebe 100644 (file)
@@ -35,7 +35,6 @@ func TestSizeof(t *testing.T) {
                {InterType{}, 4, 8},
                {ChanType{}, 8, 16},
                {ArrayType{}, 12, 16},
-               {InterMethType{}, 4, 8},
                {DDDFieldType{}, 4, 8},
                {FuncArgsType{}, 4, 8},
                {ChanArgsType{}, 4, 8},
index 225a72e41e81e9c9c379964f0a34f22444baa38d..b74111271125ffed04cc9a06b420b9dbd0555e06 100644 (file)
@@ -126,7 +126,6 @@ type Type struct {
        // TMAP: *MapType
        // TFORW: *ForwardType
        // TFUNC: *FuncType
-       // TINTERMETHOD: InterMethType
        // TSTRUCT: *StructType
        // TINTER: *InterType
        // TDDDFIELD: DDDFieldType
@@ -232,11 +231,6 @@ func (t *Type) FuncType() *FuncType {
        return t.Extra.(*FuncType)
 }
 
-// InterMethType contains Type fields specific to interface method pseudo-types.
-type InterMethType struct {
-       Nname *Node
-}
-
 // StructType contains Type fields specific to struct types.
 type StructType struct {
        fields Fields