- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for declareParams (0.13 sec)
-
src/cmd/compile/internal/ir/func.go
e.SetTypecheck(1) return e } // DeclareParams creates Names for all of the parameters in fn's // signature and adds them to fn.Dcl. // // If setNname is true, then it also sets types.Field.Nname for each // parameter. func (fn *Func) DeclareParams(setNname bool) { if fn.Dcl != nil { base.FatalfAt(fn.Pos(), "%v already has Dcl", fn) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/stmt.go
} } // Create a new wrapper function without parameters or results. wrapperFn := ir.NewClosureFunc(pos, pos, op, types.NewSignature(nil, nil, nil), ir.CurFunc, Target) wrapperFn.DeclareParams(true) wrapperFn.SetWrapper(true) // argps collects the list of operands within the call expression // that must be evaluated at the go/defer statement. var argps []*ir.Node
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:10:54 UTC 2023 - 17.8K bytes - Viewed (0)