Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AllParents (0.1 sec)

  1. src/cmd/compile/internal/ir/func.go

    	// inlined functions' names into the closure's linker symbol name
    	// too (#60324).
    	if inlIndex := base.Ctxt.InnermostPos(pos).Base().InliningIndex(); inlIndex >= 0 {
    		names := []string{outer}
    		base.Ctxt.InlTree.AllParents(inlIndex, func(call obj.InlinedCall) {
    			names = append(names, call.Name)
    		})
    		outer = strings.Join(names, ".")
    	}
    
    	*gen++
    	return pkg.Lookup(fmt.Sprintf("%s%s%d", outer, suffix, *gen))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top