Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for OAS2 (0.02 sec)

  1. src/cmd/compile/internal/walk/assign.go

    		n.Rhs = []ir.Node{r}
    		return n
    	}
    	init.Append(r)
    
    	ll := ascompatet(n.Lhs, r.Type())
    	return ir.NewBlockStmt(src.NoXPos, ll)
    }
    
    // walkAssignList walks an OAS2 node.
    func walkAssignList(init *ir.Nodes, n *ir.AssignListStmt) ir.Node {
    	init.Append(ir.TakeInit(n)...)
    	return ir.NewBlockStmt(src.NoXPos, ascompatee(ir.OAS, n.Lhs, n.Rhs))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/expr.go

    	case ir.OCFUNC:
    		return n
    
    	case ir.OCALLINTER, ir.OCALLFUNC:
    		n := n.(*ir.CallExpr)
    		return walkCall(n, init)
    
    	case ir.OAS, ir.OASOP:
    		return walkAssign(init, n)
    
    	case ir.OAS2:
    		n := n.(*ir.AssignListStmt)
    		return walkAssignList(init, n)
    
    	// a,b,... = fn()
    	case ir.OAS2FUNC:
    		n := n.(*ir.AssignListStmt)
    		return walkAssignFunc(init, n)
    
    	// x, y = <-c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/builtin.go

    		call := mkcall1(fn.Nname, fn.Type().ResultsTuple(), init, ir.NewInt(base.Pos, sliceType.Elem().Size()), typecheck.Conv(typecheck.Conv(len, lenType), types.Types[types.TUINTPTR]))
    		appendWalkStmt(init, ir.NewAssignListStmt(base.Pos, ir.OAS2, []ir.Node{mem, overflow}, []ir.Node{call}))
    
    		// if overflow || mem > -uintptr(ptr) {
    		//     if ptr == nil {
    		//         panicunsafesliceptrnil()
    		//     }
    		//     panicunsafeslicelen()
    		// }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
Back to top