Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mustBeFirst (0.1 sec)

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

    			if opcodeTable[v.Op].zeroWidth {
    				if prologComplete && mustBeFirst(v) {
    					panic(fmt.Errorf("Unexpected placement of op '%s' appearing after non-pseudo-op at beginning of block %s in %s\n%s", v.LongString(), b, b.Func.Name, b.Func))
    				}
    				if changed {
    					if mustBeFirst(v) || v.Op == OpArg {
    						// already taken care of above
    						continue
    					}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/regalloc.go

    			if v.Op == OpInvalid {
    				continue
    			}
    			b.Values[i] = v
    			i++
    		}
    		b.Values = b.Values[:i]
    	}
    }
    
    func (s *regAllocState) placeSpills() {
    	mustBeFirst := func(op Op) bool {
    		return op.isLoweredGetClosurePtr() || op == OpPhi || op == OpArgIntReg || op == OpArgFloatReg
    	}
    
    	// Start maps block IDs to the list of spills
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
Back to top