< prev index next >

src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases/src/org/graalvm/compiler/phases/BasePhase.java

Print this page

        

*** 256,277 **** return listener.changed; } return false; } ! private final class GraphChangeListener implements NodeEventListener { boolean changed; private StructuredGraph graph; private Mark mark; GraphChangeListener(StructuredGraph graphCopy) { this.graph = graphCopy; this.mark = graph.getMark(); } @Override ! public void event(NodeEvent e, Node node) { if (!graph.isNew(mark, node) && node.isAlive()) { if (e == NodeEvent.INPUT_CHANGED || e == NodeEvent.ZERO_USAGES) { changed = true; } } --- 256,277 ---- return listener.changed; } return false; } ! private final class GraphChangeListener extends NodeEventListener { boolean changed; private StructuredGraph graph; private Mark mark; GraphChangeListener(StructuredGraph graphCopy) { this.graph = graphCopy; this.mark = graph.getMark(); } @Override ! public void changed(NodeEvent e, Node node) { if (!graph.isNew(mark, node) && node.isAlive()) { if (e == NodeEvent.INPUT_CHANGED || e == NodeEvent.ZERO_USAGES) { changed = true; } }
< prev index next >