Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for enableDebugTraceIfEnv (0.19 sec)

  1. src/cmd/compile/internal/inline/inlheur/scoring.go

    // after foo has been analyzed, but it's conceivable that CanInline
    // might visit bar before foo for this SCC.
    func ScoreCalls(fn *ir.Func) {
    	if len(fn.Body) == 0 {
    		return
    	}
    	enableDebugTraceIfEnv()
    
    	nameFinder := newNameFinder(fn)
    
    	if debugTrace&debugTraceScoring != 0 {
    		fmt.Fprintf(os.Stderr, "=-= ScoreCalls(%v)\n", ir.FuncName(fn))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
Back to top