()
| 95 | // This needs to happen before removing the old node's def->use edge as |
| 96 | // the new_def might get killed if the old node kills it recursively. |
| 97 | if( new_def != null ) |
| 98 | new_def.addUse(this); |
| 99 | if( old_def != null && // If the old def exists, remove a def->use edge |
| 100 | old_def.delUse(this) ) // If we removed the last use, the old def is now dead |
| 101 | old_def.kill(); // Kill old def |
| 102 | // Set the new_def over the old (killed) edge |