Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 12 of 12 for CalcSize (0.19 sec)

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

    			}
    			return v
    		}
    
    		// map <--> *hmap
    		if to.Kind() == types.TMAP && from == types.NewPtr(reflectdata.MapType()) {
    			return v
    		}
    
    		types.CalcSize(from)
    		types.CalcSize(to)
    		if from.Size() != to.Size() {
    			s.Fatalf("CONVNOP width mismatch %v (%d) -> %v (%d)\n", from, from.Size(), to, to.Size())
    			return nil
    		}
    		if etypesign(from.Kind()) != etypesign(to.Kind()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/order.go

    func (o *orderState) addrTemp(n ir.Node) ir.Node {
    	if n.Op() == ir.OLITERAL || n.Op() == ir.ONIL {
    		// TODO: expand this to all static composite literal nodes?
    		n = typecheck.DefaultLit(n, nil)
    		types.CalcSize(n.Type())
    		vstat := readonlystaticname(n.Type())
    		var s staticinit.Schedule
    		s.StaticAssign(vstat, 0, n, n.Type())
    		if s.Out != nil {
    			base.Fatalf("staticassign of const generated code: %+v", n)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top