Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for countTrue (0.26 sec)

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

    func noteRule(s string) bool {
    	fmt.Println(s)
    	return true
    }
    
    // countRule increments Func.ruleMatches[key].
    // If Func.ruleMatches is non-nil at the end
    // of compilation, it will be printed to stdout.
    // This is intended to make it easier to find which functions
    // which contain lots of rules matches when developing new rules.
    func countRule(v *Value, key string) bool {
    	f := v.Block.Func
    	if f.ruleMatches == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top