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