()
| 381 | |
| 382 | // Return the immediate dominator of this Node and compute dom tree depth. |
| 383 | Node idom() { |
| 384 | Node idom = in(0); |
| 385 | if( idom._idepth==0 ) idom.idom(); // Recursively set _idepth |
| 386 | if( _idepth==0 ) _idepth = idom._idepth+1; |
| 387 | return idom; |
| 388 | } |
| 389 | |
| 390 | // Make a shallow copy (same class) of this Node, with given inputs and |
| 391 | // empty outputs and a new Node ID. The original inputs are ignored. |