mirror of
https://github.com/golang/go
synced 2024-11-17 21:54:49 -07: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:
parent
5b59b32c97
commit
52d8d7b93a
@ -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},
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user