Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewLocal (0.2 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)
Back to top