Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lineFor (0.11 sec)

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

    }
    
    // exprPtr evaluates n to a pointer and nil-checks it.
    func (s *state) exprPtr(n ir.Node, bounded bool, lineno src.XPos) *ssa.Value {
    	p := s.expr(n)
    	if bounded || n.NonNil() {
    		if s.f.Frontend().Debug_checknil() && lineno.Line() > 1 {
    			s.f.Warnl(lineno, "removed nil check")
    		}
    		return p
    	}
    	p = s.nilCheck(p)
    	return p
    }
    
    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