< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/util/GraphUtil.java

Print this page

        

*** 240,250 **** } if (GraphUtil.Options.VerifyKillCFGUnusedNodes.getValue(options)) { EconomicSet<Node> collectedUnusedNodes = unusedNodes = EconomicSet.create(Equivalence.IDENTITY); nodeEventScope = node.graph().trackNodeEvents(new Graph.NodeEventListener() { @Override ! public void event(Graph.NodeEvent e, Node n) { if (e == Graph.NodeEvent.ZERO_USAGES && isFloatingNode(n) && !(n instanceof GuardNode)) { collectedUnusedNodes.add(n); } } }); --- 240,250 ---- } if (GraphUtil.Options.VerifyKillCFGUnusedNodes.getValue(options)) { EconomicSet<Node> collectedUnusedNodes = unusedNodes = EconomicSet.create(Equivalence.IDENTITY); nodeEventScope = node.graph().trackNodeEvents(new Graph.NodeEventListener() { @Override ! public void changed(Graph.NodeEvent e, Node n) { if (e == Graph.NodeEvent.ZERO_USAGES && isFloatingNode(n) && !(n instanceof GuardNode)) { collectedUnusedNodes.add(n); } } });
< prev index next >