- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for AllParents (0.07 sec)
-
src/cmd/internal/obj/inl.go
} tree.nodes = append(tree.nodes, call) return r } // AllParents invokes do on each InlinedCall in the inlining call // stack, from outermost to innermost. // // That is, if inlIndex corresponds to f inlining g inlining h, // AllParents invokes do with the call for inlining g into f, and then // inlining h into g. func (tree *InlTree) AllParents(inlIndex int, do func(InlinedCall)) { if inlIndex >= 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 22:47:15 UTC 2023 - 4.4K bytes - Viewed (0) -
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)