src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.virtual/src/org/graalvm/compiler/virtual/phases/ea/GraphEffectList.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File open Cdiff src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.virtual/src/org/graalvm/compiler/virtual/phases/ea/GraphEffectList.java

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.virtual/src/org/graalvm/compiler/virtual/phases/ea/GraphEffectList.java

Print this page

        

*** 32,42 **** import org.graalvm.compiler.nodes.FrameState; import org.graalvm.compiler.nodes.IfNode; import org.graalvm.compiler.nodes.NodeView; import org.graalvm.compiler.nodes.PhiNode; import org.graalvm.compiler.nodes.PiNode; - import org.graalvm.compiler.nodes.ProxyNode; import org.graalvm.compiler.nodes.StructuredGraph; import org.graalvm.compiler.nodes.ValueNode; import org.graalvm.compiler.nodes.debug.DynamicCounterNode; import org.graalvm.compiler.nodes.debug.WeakCounterNode; import org.graalvm.compiler.nodes.util.GraphUtil; --- 32,41 ----
*** 114,131 **** * * @param node The floating node to be added. */ public void addFloatingNode(ValueNode node, @SuppressWarnings("unused") String cause) { add("add floating node", graph -> { ! if (node instanceof ProxyNode) { ! ProxyNode proxyNode = (ProxyNode) node; ! ValueNode value = proxyNode.value(); ! if (!value.isAlive()) { ! graph.addWithoutUnique(value); ! } ! } ! graph.addWithoutUnique(node); }); } /** * Sets the phi node's input at the given index to the given value, adding new phi inputs as --- 113,123 ---- * * @param node The floating node to be added. */ public void addFloatingNode(ValueNode node, @SuppressWarnings("unused") String cause) { add("add floating node", graph -> { ! graph.addWithoutUniqueWithInputs(node); }); } /** * Sets the phi node's input at the given index to the given value, adding new phi inputs as
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.virtual/src/org/graalvm/compiler/virtual/phases/ea/GraphEffectList.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File