ssa: fix abiType && abiMethoOf

This commit is contained in:
visualfc
2024-06-23 06:51:09 +08:00
parent 5238c2457d
commit 16352df5b1
17 changed files with 3064 additions and 4409 deletions

View File

@@ -291,6 +291,10 @@ 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 {