Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 91 of 91 for LOGICAL (0.27 sec)

  1. src/cmd/compile/internal/ssa/_gen/rulegen.go

    		last = w.List[len(w.List)-1]
    	}
    	if node, ok := node.(*CondBreak); ok {
    		w.CanFail = true
    		if last, ok := last.(*CondBreak); ok {
    			// Add to the previous "if <cond> { break }" via a
    			// logical OR, which will save verbosity.
    			last.Cond = &ast.BinaryExpr{
    				Op: token.LOR,
    				X:  last.Cond,
    				Y:  node.Cond,
    			}
    			return
    		}
    	}
    
    	w.List = append(w.List, node)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
Back to top