Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mkcallstmt1 (0.11 sec)

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

    	return vmkcall(typecheck.LookupRuntime(name), t, init, args)
    }
    
    func mkcallstmt(name string, args ...ir.Node) ir.Node {
    	return mkcallstmt1(typecheck.LookupRuntime(name), args...)
    }
    
    func mkcall1(fn ir.Node, t *types.Type, init *ir.Nodes, args ...ir.Node) *ir.CallExpr {
    	return vmkcall(fn, t, init, args)
    }
    
    func mkcallstmt1(fn ir.Node, args ...ir.Node) ir.Node {
    	var init ir.Nodes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/range.go

    		init = append(init, mkcallstmt1(fn, reflectdata.RangeMapRType(base.Pos, nrange), ha, typecheck.NodAddr(hit)))
    		nfor.Cond = ir.NewBinaryExpr(base.Pos, ir.ONE, ir.NewSelectorExpr(base.Pos, ir.ODOT, hit, keysym), typecheck.NodNil())
    
    		fn = typecheck.LookupRuntime("mapiternext", th)
    		nfor.Post = mkcallstmt1(fn, typecheck.NodAddr(hit))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/select.go

    	base.Pos = lno
    }
    
    func walkSelectCases(cases []*ir.CommClause) []ir.Node {
    	ncas := len(cases)
    	sellineno := base.Pos
    
    	// optimization: zero-case select
    	if ncas == 0 {
    		return []ir.Node{mkcallstmt("block")}
    	}
    
    	// optimization: one-case select: single op.
    	if ncas == 1 {
    		cas := cases[0]
    		ir.SetPos(cas)
    		l := cas.Init()
    		if cas.Comm != nil { // not default:
    			n := cas.Comm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top