Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewLocal (0.13 sec)

  1. src/cmd/compile/internal/ssa/func.go

    	if !f.Config.UseFMA {
    		return false
    	}
    	if base.FmaHash == nil {
    		return true
    	}
    	return base.FmaHash.MatchPos(v.Pos, nil)
    }
    
    // NewLocal returns a new anonymous local variable of the given type.
    func (f *Func) NewLocal(pos src.XPos, typ *types.Type) *ir.Name {
    	nn := typecheck.TempAt(pos, f.fe.Func(), typ) // Note: adds new auto to fn.Dcl list
    	nn.SetNonMergeable(true)
    	return nn
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    			// 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