Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for tomcat (0.67 sec)

  1. src/cmd/compile/internal/typecheck/dcl.go

    		base.Fatalf("funcStack is non-empty: %v", len(funcStack))
    	}
    }
    
    // make a new Node off the books.
    func TempAt(pos src.XPos, curfn *ir.Func, typ *types.Type) *ir.Name {
    	if curfn == nil {
    		base.FatalfAt(pos, "no curfn for TempAt")
    	}
    	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)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/assign.go

    	}
    	n.Rhs = []ir.Node{call}
    	n.SetOp(ir.OAS2FUNC)
    
    	// don't generate a = *var if a is _
    	if ir.IsBlank(a) {
    		return walkExpr(typecheck.Stmt(n), init)
    	}
    
    	var_ := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewPtr(t.Elem()))
    	var_.SetTypecheck(1)
    	var_.MarkNonNil() // mapaccess always returns a non-nil pointer
    
    	n.Lhs[0] = var_
    	init.Append(walkExpr(n, init))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    	if s.hasOpenDefers {
    		// Create the deferBits variable and stack slot.  deferBits is a
    		// bitmask showing which of the open-coded defers in this function
    		// have been activated.
    		deferBitsTemp := typecheck.TempAt(src.NoXPos, s.curfn, types.Types[types.TUINT8])
    		deferBitsTemp.SetAddrtaken(true)
    		s.deferBitsTemp = deferBitsTemp
    		// For this value, AuxInt is initialized to zero by default
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/walk/select.go

    	var init []ir.Node
    
    	// generate sel-struct
    	base.Pos = sellineno
    	selv := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(scasetype(), int64(ncas)))
    	init = append(init, typecheck.Stmt(ir.NewAssignStmt(base.Pos, selv, nil)))
    
    	// No initialization for order; runtime.selectgo is responsible for that.
    	order := typecheck.TempAt(base.Pos, ir.CurFunc, types.NewArray(types.Types[types.TUINT16], 2*int64(ncas)))
    
    	var pc0, pcs ir.Node
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/temp.go

    // allocated temporary variable of the given type. Statements to
    // zero-initialize tmp are appended to init.
    func stackTempAddr(init *ir.Nodes, typ *types.Type) *ir.AddrExpr {
    	n := typecheck.TempAt(base.Pos, ir.CurFunc, typ)
    	n.SetNonMergeable(true)
    	return initStackTemp(init, n, nil)
    }
    
    // stackBufAddr returns the expression &tmp, where tmp is a newly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/complit.go

    	// TODO(khr): assign these temps in order phase so we can reuse them across multiple maplits?
    	tmpkey := typecheck.TempAt(base.Pos, ir.CurFunc, m.Type().Key())
    	tmpelem := typecheck.TempAt(base.Pos, ir.CurFunc, m.Type().Elem())
    
    	for _, r := range entries {
    		r := r.(*ir.KeyExpr)
    		index, elem := r.Key, r.Value
    
    		ir.SetPos(index)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:03:54 UTC 2023
    - 19.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/convert.go

    		l.SetTypecheck(n.Typecheck())
    		return l
    	}
    	if fromType.IsEmptyInterface() {
    		base.Fatalf("OCONVIFACE can't operate on an empty interface")
    	}
    
    	// Evaluate the input interface.
    	c := typecheck.TempAt(base.Pos, ir.CurFunc, fromType)
    	init.Append(ir.NewAssignStmt(base.Pos, c, n.X))
    
    	if toType.IsEmptyInterface() {
    		// Implement interface to empty interface conversion:
    		//
    		// var res *uint8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/lookup.go

    						next = append(next, embeddedType{typ, concat(e.index, i), e.indirect || isPtr, e.multiples})
    					}
    				}
    
    			case *Interface:
    				// look for a matching method (interface may be a type parameter)
    				if i, m := t.typeSet().LookupMethod(pkg, name, foldCase); m != nil {
    					assert(m.typ != nil)
    					index = concat(e.index, i)
    					if obj != nil || e.multiples {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/walk/switch.go

    	s.srcName = sw.Tag.(*ir.TypeSwitchGuard).X
    	s.srcName = walkExpr(s.srcName, sw.PtrInit())
    	s.srcName = copyExpr(s.srcName, s.srcName.Type(), &sw.Compiled)
    	s.okName = typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TBOOL])
    	s.itabName = typecheck.TempAt(base.Pos, ir.CurFunc, types.Types[types.TUINT8].PtrTo())
    
    	// Get interface descriptor word.
    	// For empty interfaces this will be the type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/load.go

    		goFlag := ""
    		if goVersion != MainModules.GoVersion() {
    			goFlag = " -go=" + goVersion
    		}
    
    		compatFlag := ""
    		if compatVersion != gover.Prev(goVersion) {
    			compatFlag = " -compat=" + compatVersion
    		}
    		if suggestUpgrade {
    			eDesc := ""
    			eFlag := ""
    			if suggestEFlag {
    				eDesc = ", leaving some packages unresolved"
    				eFlag = " -e"
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
Back to top