Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for closureptr (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top