(int idx)
| 198 | // shuffles the order deterministically - which is suitable for Region and |
| 199 | // Phi, but not for every Node. |
| 200 | void delDef(int idx) { |
| 201 | Node old_def = in(idx); |
| 202 | if( old_def != null && // If the old def exists, remove a def->use edge |
| 203 | old_def.delUse(this) ) // If we removed the last use, the old def is now dead |
| 204 | old_def.kill(); // Kill old def |
| 205 | Utils.del(_inputs, idx); |
| 206 | } |
| 207 | |
| 208 | /** |
| 209 | * Add a new def to an existing Node. Keep the edges correct by |