< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.virtual/src/org/graalvm/compiler/virtual/phases/ea/GraphEffectList.java
Print this page
rev 56282 : [mq]: graal
*** 130,140 ****
* @param index The index of the phi input to be changed.
* @param value The new value for the phi input.
*/
public void initializePhiInput(PhiNode node, int index, ValueNode value) {
add("set phi input", (graph, obsoleteNodes) -> {
! assert node.isAlive() && index >= 0;
node.initializeValueAt(index, graph.addOrUniqueWithInputs(value));
});
}
/**
--- 130,140 ----
* @param index The index of the phi input to be changed.
* @param value The new value for the phi input.
*/
public void initializePhiInput(PhiNode node, int index, ValueNode value) {
add("set phi input", (graph, obsoleteNodes) -> {
! assert node.isAlive() && index >= 0 : node;
node.initializeValueAt(index, graph.addOrUniqueWithInputs(value));
});
}
/**
< prev index next >