()
| 428 | |
| 429 | // Return the immediate dominator of this Node and compute dom tree depth. |
| 430 | Node idom() { |
| 431 | Node idom = in(0); |
| 432 | if( idom._idepth==0 ) idom.idom(); // Recursively set _idepth |
| 433 | if( _idepth==0 ) _idepth = idom._idepth+1; |
| 434 | return idom; |
| 435 | } |
| 436 | |
| 437 | // Make a shallow copy (same class) of this Node, with given inputs and |
| 438 | // empty outputs and a new Node ID. The original inputs are ignored. |