Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for replaceConst (0.13 sec)

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

    		block.Kind = BlockPlain
    		block.Likely = BranchUnknown
    		block.ResetControls()
    		return true
    	default:
    		return false
    	}
    }
    
    // replaceConst will replace non-constant values that have been proven by sccp
    // to be constants.
    func (t *worklist) replaceConst() (int, int) {
    	constCnt, rewireCnt := 0, 0
    	for val, lt := range t.latticeCells {
    		if lt.tag == constant {
    			if !isConst(val) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:54:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top