1
0
mirror of https://github.com/golang/go synced 2024-09-30 01:34:35 -06:00

cmd/compile: remove InterMethod type - not used anywhere

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>
This commit is contained in:
Robert Griesemer 2017-04-05 20:24:48 -07:00
parent 5b59b32c97
commit 52d8d7b93a
2 changed files with 0 additions and 7 deletions

View 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},

View 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