src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.virtual/src/org/graalvm/compiler/virtual/phases/ea/GraphEffectList.java
changeset 58299 6df94ce3ab2f
parent 55509 d58442b8abc1
child 58679 9c3209ff7550
equal deleted inserted replaced
58298:0152ad7b38b8 58299:6df94ce3ab2f
   130      * @param index The index of the phi input to be changed.
   130      * @param index The index of the phi input to be changed.
   131      * @param value The new value for the phi input.
   131      * @param value The new value for the phi input.
   132      */
   132      */
   133     public void initializePhiInput(PhiNode node, int index, ValueNode value) {
   133     public void initializePhiInput(PhiNode node, int index, ValueNode value) {
   134         add("set phi input", (graph, obsoleteNodes) -> {
   134         add("set phi input", (graph, obsoleteNodes) -> {
   135             assert node.isAlive() && index >= 0;
   135             assert node.isAlive() && index >= 0 : node;
   136             node.initializeValueAt(index, graph.addOrUniqueWithInputs(value));
   136             node.initializeValueAt(index, graph.addOrUniqueWithInputs(value));
   137         });
   137         });
   138     }
   138     }
   139 
   139 
   140     /**
   140     /**