- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for closureptr (0.21 sec)
-
src/cmd/compile/internal/ssa/debug.go
// each input param reg will be spilled in the prolog). In addition // to the register params, here we also build location lists (where // appropriate for the ".closureptr" compiler-synthesized variable // needed by the debugger for range func bodies. func BuildFuncDebugNoOptimized(ctxt *obj.Link, f *Func, loggingEnabled bool, stackOffset func(LocalSlot) int32, rval *FuncDebug) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
RegArgs []Spill // OwnAux describes parameters and results for this function. OwnAux *AuxCall // CloSlot holds the compiler-synthesized name (".closureptr") // where we spill the closure pointer for range func bodies. CloSlot *ir.Name freeValues *Value // free Values linked by argstorage[0]. All other fields except ID are 0/nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
src/cmd/compile/internal/liveness/plive.go
// Clobber pointer slots in all dead variables at entry. if b == lv.f.Entry { for len(oldSched) > 0 && len(oldSched[0].Args) == 0 { // Skip argless ops. We need to skip at least // the lowered ClosurePtr op, because it // really wants to be first. This will also // skip ops like InitMem and SP, which are ok. b.Values = append(b.Values, oldSched[0]) oldSched = oldSched[1:] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
if fn.RangeParent != nil { // For a range body closure, keep its closure pointer live on the // stack with a special name, so the debugger can look for it and // find the parent frame. sym := &types.Sym{Name: ".closureptr", Pkg: types.LocalPkg} cloSlot := s.curfn.NewLocal(src.NoXPos, sym, s.f.Config.Types.BytePtr) cloSlot.SetUsed(true) cloSlot.SetEsc(ir.EscNever) cloSlot.SetAddrtaken(true) s.f.CloSlot = cloSlot
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0)