internal/runtime: check abi.KindDirectIface

This commit is contained in:
visualfc
2024-07-04 08:23:57 +08:00
parent be32f4072e
commit 91ba215568
24 changed files with 7728 additions and 7508 deletions

View File

@@ -302,10 +302,6 @@ func IfacePtrData(i iface) unsafe.Pointer {
return i.data
}
func SetDirectIface(t *abi.Type) {
t.Kind_ |= abi.KindDirectIface
}
// Implements reports whether the type V implements the interface type T.
func Implements(T, V *abi.Type) bool {
if V == nil {