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 kindMask = (1 << 5) - 1
40 // isDirectIface reports whether t is stored directly in an interface value.
41 func isDirectIface(t *_type) bool {
42 return t.kind&kindDirectIface != 0