Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewStarExpr (0.81 sec)

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

    	var_.SetTypecheck(1)
    	var_.MarkNonNil() // mapaccess always returns a non-nil pointer
    
    	n.Lhs[0] = var_
    	init.Append(walkExpr(n, init))
    
    	as := ir.NewAssignStmt(base.Pos, a, ir.NewStarExpr(base.Pos, var_))
    	return walkExpr(typecheck.Stmt(as), init)
    }
    
    // walkAssignRecv walks an OAS2RECV node.
    func walkAssignRecv(init *ir.Nodes, n *ir.AssignListStmt) ir.Node {
    	init.Append(ir.TakeInit(n)...)
    
    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/ir/func.go

    	}
    	var e Node = NewUnaryExpr(pos, OIDATA, n)
    	e.SetType(types.Types[types.TUINTPTR].PtrTo())
    	e.SetTypecheck(1)
    	e = NewStarExpr(pos, e)
    	e.SetType(types.Types[types.TUINTPTR])
    	e.SetTypecheck(1)
    	return e
    }
    
    // DeclareParams creates Names for all of the parameters in fn's
    // signature and adds them to fn.Dcl.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top