diff options
Diffstat (limited to 'src/reflect/export_test.go')
| -rw-r--r-- | src/reflect/export_test.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/reflect/export_test.go b/src/reflect/export_test.go index 30a0e823af..7ab3e957fc 100644 --- a/src/reflect/export_test.go +++ b/src/reflect/export_test.go @@ -91,19 +91,6 @@ var GCBits = gcbits func gcbits(any) []byte // provided by runtime -func MapBucketOf(x, y Type) Type { - return toType(bucketOf(x.common(), y.common())) -} - -func CachedBucketOf(m Type) Type { - t := m.(*rtype) - if Kind(t.t.Kind_&abi.KindMask) != Map { - panic("not map") - } - tt := (*mapType)(unsafe.Pointer(t)) - return toType(tt.Bucket) -} - type EmbedWithUnexpMeth struct{} func (EmbedWithUnexpMeth) f() {} |
