ssa: fix abiNamed for llc verified

This commit is contained in:
visualfc
2024-07-22 12:35:56 +08:00
parent a108610a67
commit 024b30d0b7
10 changed files with 475 additions and 474 deletions

View File

@@ -194,8 +194,9 @@ func (b Builder) abiInterfaceOf(pkgPath string, name string, t *types.Interface)
// func NewNamed(kind abi.Kind, methods, ptrMethods int)
func (b Builder) abiNamedOf(t *types.Named) func() Expr {
expr := b.abiNamed(t)
return func() Expr {
return b.abiNamed(t)
return expr
}
}