1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
35 kindDirectIface
= 1 << 5
37 kindNoPointers
= 1 << 7
38 kindMask
= (1 << 5) - 1
41 // isDirectIface reports whether t is stored directly in an interface value.
42 func isDirectIface(t
*_type
) bool {
43 return t
.kind
&kindDirectIface
!= 0