testFrom: use test.Diff

This commit is contained in:
xushiwei
2025-06-23 21:14:26 +08:00
parent 3d53b12dea
commit b7b6e3bc93
5 changed files with 12 additions and 17 deletions

View File

@@ -497,7 +497,7 @@ const (
llgoAtomicOpLast = llgoAtomicOpBase + int(llssa.OpUMin)
)
func (p *context) funcName(fn *ssa.Function, ignore bool) (*types.Package, string, int) {
func (p *context) funcName(fn *ssa.Function) (*types.Package, string, int) {
var pkg *types.Package
var orgName string
if origin := fn.Origin(); origin != nil {