Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for varOffset (0.08 sec)

  1. src/cmd/compile/internal/ssa/debug.go

    			setSlot(slot, VarLoc{1<<uint8(vReg.num) | last.Registers, last.StackOffset})
    		}
    	}
    	return changed
    }
    
    // varOffset returns the offset of slot within the user variable it was
    // decomposed from. This has nothing to do with its stack offset.
    func varOffset(slot LocalSlot) int64 {
    	offset := slot.Off
    	s := &slot
    	for ; s.SplitOf != nil; s = s.SplitOf {
    		offset += s.SplitOffset
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
Back to top