Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for freeBlock (0.11 sec)

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

    	for _, b := range f.Blocks {
    		if reachable[b.ID] {
    			f.Blocks[i] = b
    			i++
    		} else {
    			if len(b.Values) > 0 {
    				b.Fatalf("live values in unreachable block %v: %v", b, b.Values)
    			}
    			f.freeBlock(b)
    		}
    	}
    	// zero remainder to help GC
    	tail := f.Blocks[i:]
    	for j := range tail {
    		tail[j] = nil
    	}
    	f.Blocks = f.Blocks[:i]
    }
    
    // removeEdge removes the i'th outgoing edge from b (and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top