Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for notStmtBoundary (0.16 sec)

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

    			}
    		}
    		// Remove values we've clobbered with OpUnknown.
    		i := firstToRemove
    		for j := i; j < len(b.Values); j++ {
    			v := b.Values[j]
    			if v.Op != OpUnknown {
    				if !notStmtBoundary(v.Op) && pendingLines.contains(v.Pos) { // Late in compilation, so any remaining NotStmt values are probably okay now.
    					v.Pos = v.Pos.WithIsStmt()
    					pendingLines.remove(v.Pos)
    				}
    				b.Values[i] = v
    				i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/func.go

    		ID := f.vid.get()
    		if int(ID) < len(f.Cache.values) {
    			v = &f.Cache.values[ID]
    			v.ID = ID
    		} else {
    			v = &Value{ID: ID}
    		}
    	}
    	v.Op = op
    	v.Type = t
    	v.Block = b
    	if notStmtBoundary(op) {
    		pos = pos.WithNotStmt()
    	}
    	v.Pos = pos
    	b.Values = append(b.Values, v)
    	return v
    }
    
    // newValueNoBlock allocates a new Value with the given fields.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
Back to top