Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for callsite (0.16 sec)

  1. src/cmd/compile/internal/types/alg.go

    		base.Fatalf("ambiguous priority %s and %s", a, t.alg)
    	}
    }
    
    // AlgType returns the AlgKind used for comparing and hashing Type t.
    func AlgType(t *Type) AlgKind {
    	CalcSize(t)
    	return t.alg
    }
    
    // TypeHasNoAlg reports whether t does not have any associated hash/eq
    // algorithms because t, or some component of t, is marked Noalg.
    func TypeHasNoAlg(t *Type) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/dcl.go

    	}
    	if typ == nil {
    		base.FatalfAt(pos, "TempAt called with nil type")
    	}
    	if typ.Kind() == types.TFUNC && typ.Recv() != nil {
    		base.FatalfAt(pos, "misuse of method type: %v", typ)
    	}
    	types.CalcSize(typ)
    
    	sym := &types.Sym{
    		Name: autotmpname(len(curfn.Dcl)),
    		Pkg:  types.LocalPkg,
    	}
    	name := curfn.NewLocal(pos, sym, typ)
    	name.SetEsc(ir.EscNever)
    	name.SetUsed(true)
    	name.SetAutoTemp(true)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/syms.go

    // successive occurrences of the "any" placeholder in the
    // type syntax expression n.Type.
    func substArgTypes(old *ir.Name, types_ ...*types.Type) *ir.Name {
    	for _, t := range types_ {
    		types.CalcSize(t)
    	}
    	n := ir.NewNameAt(old.Pos(), old.Sym(), types.SubstAny(old.Type(), &types_))
    	n.Class = old.Class
    	n.Func = old.Func
    	if len(types_) > 0 {
    		base.Fatalf("SubstArgTypes: too many argument types")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:13 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top