Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for OADDR (0.07 sec)

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

    // initialize the given closure's free variables. These correspond
    // one-to-one with the variables in clo.Func.ClosureVars, and will be
    // either an ONAME node (if the variable is captured by value) or an
    // OADDR-of-ONAME node (if not).
    func closureArgs(clo *ir.ClosureExpr) []ir.Node {
    	fn := clo.Func
    
    	args := make([]ir.Node, len(fn.ClosureVars))
    	for i, v := range fn.ClosureVars {
    		var outer ir.Node
    		outer = v.Outer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
Back to top