Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for verifyDominators (0.12 sec)

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

    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		domBenchRes = dominators(fun.f)
    	}
    }
    
    type domFunc func(f *Func) []*Block
    
    // verifyDominators verifies that the dominators of fut (function under test)
    // as determined by domFn, match the map node->dominator
    func verifyDominators(t *testing.T, fut fun, domFn domFunc, doms map[string]string) {
    	blockNames := map[*Block]string{}
    	for n, b := range fut.blocks {
    		blockNames[b] = n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top