Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for istiod (0.41 sec)

  1. src/cmd/compile/internal/types2/api.go

    // of the corresponding expression.
    type TypeAndValue struct {
    	mode  operandMode
    	Type  Type
    	Value constant.Value
    }
    
    // IsVoid reports whether the corresponding expression
    // is a function call without results.
    func (tv TypeAndValue) IsVoid() bool {
    	return tv.mode == novalue
    }
    
    // IsType reports whether the corresponding expression specifies a type.
    func (tv TypeAndValue) IsType() bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/check.go

    				// nil checks have pointer type before scheduling, and
    				// void type after scheduling.
    				if f.scheduled {
    					if v.Uses != 0 {
    						f.Fatalf("nilcheck must have 0 uses %s", v.Uses)
    					}
    					if !v.Type.IsVoid() {
    						f.Fatalf("nilcheck must have void type %s", v.Type.String())
    					}
    				} else {
    					if !v.Type.IsPtrShaped() && !v.Type.IsUintptr() {
    						f.Fatalf("nilcheck must have pointer type %s", v.Type.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/check.go

    	}
    	if m := check.Types; m != nil {
    		m[x] = TypeAndValue{mode, typ, val}
    	}
    	if check.StoreTypesInSyntax {
    		tv := TypeAndValue{mode, typ, val}
    		stv := syntax.TypeAndValue{Type: typ, Value: val}
    		if tv.IsVoid() {
    			stv.SetIsVoid()
    		}
    		if tv.IsType() {
    			stv.SetIsType()
    		}
    		if tv.IsBuiltin() {
    			stv.SetIsBuiltin()
    		}
    		if tv.IsValue() {
    			stv.SetIsValue()
    		}
    		if tv.IsNil() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/value.go

    }
    
    // removeable reports whether the value v can be removed from the SSA graph entirely
    // if its use count drops to 0.
    func (v *Value) removeable() bool {
    	if v.Type.IsVoid() {
    		// Void ops (inline marks), must stay.
    		return false
    	}
    	if opcodeTable[v.Op].nilCheck {
    		// Nil pointer checks must stay.
    		return false
    	}
    	if v.Type.IsMemory() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:40:22 UTC 2024
    - 16.7K bytes
    - Viewed (0)
Back to top