Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for condBranch (0.45 sec)

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

    	delete(s.vars, ternaryVar)
    	return r
    }
    
    // condBranch evaluates the boolean expression cond and branches to yes
    // if cond is true and no if cond is false.
    // This function is intended to handle && and || better than just calling
    // s.expr(cond) and branching on the result.
    func (s *state) condBranch(cond ir.Node, yes, no *ssa.Block, likely int8) {
    	switch cond.Op() {
    	case ir.OANDAND:
    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