Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for globalToLocal (0.25 sec)

  1. src/cmd/internal/obj/pcln.go

    type pcinlineState struct {
    	globalToLocal map[int]int
    	localTree     InlTree
    }
    
    // addBranch adds a branch from the global inlining tree in ctxt to
    // the function's local inlining tree, returning the index in the local tree.
    func (s *pcinlineState) addBranch(ctxt *Link, globalIndex int) int {
    	if globalIndex < 0 {
    		return -1
    	}
    
    	localIndex, ok := s.globalToLocal[globalIndex]
    	if ok {
    		return localIndex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 20:45:15 UTC 2022
    - 11.8K bytes
    - Viewed (0)
Back to top