()
| 95 | * @param new_def the new definition |
| 96 | * @return new_def for flow coding |
| 97 | */ |
| 98 | Node setDef(int idx, Node new_def ) { |
| 99 | Node old_def = in(idx); |
| 100 | if( old_def == new_def ) return this; // No change |
| 101 | // If new def is not null, add the corresponding def->use edge |
| 102 | // This needs to happen before removing the old node's def->use edge as |