Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for removeSucc (0.13 sec)

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

    // Note that this potentially reorders successors of b, so it
    // must be used very carefully.
    func (b *Block) removeEdge(i int) {
    	e := b.Succs[i]
    	c := e.b
    	j := e.i
    
    	// Adjust b.Succs
    	b.removeSucc(i)
    
    	// Adjust c.Preds
    	c.removePred(j)
    
    	// Remove phi args from c's phis.
    	for _, v := range c.Values {
    		if v.Op != OpPhi {
    			continue
    		}
    		c.removePhiArg(v, j)
    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