# HG changeset patch # User Gilles Duboscq # Date 1398353514 -7200 # Node ID ed7234f0168f554fc8e2fc9bf9300fe84020a7c5 # Parent 10c6705dbe9a31819be8889323ac4fd4d590712e Finish the changes from ad3441f45118 diff -r 10c6705dbe9a -r ed7234f0168f graal/com.oracle.graal.graph/src/com/oracle/graal/graph/Node.java --- a/graal/com.oracle.graal.graph/src/com/oracle/graal/graph/Node.java Thu Apr 24 17:30:12 2014 +0200 +++ b/graal/com.oracle.graal.graph/src/com/oracle/graal/graph/Node.java Thu Apr 24 17:31:54 2014 +0200 @@ -184,7 +184,6 @@ class NodeUsageIterator implements Iterator { - private final int expectedModCount = usageModCount(); int index = -1; Node current; @@ -207,12 +206,10 @@ } public boolean hasNext() { - assert expectedModCount == usageModCount(); return current != null; } public Node next() { - assert expectedModCount == usageModCount(); Node result = current; if (result == null) { throw new NoSuchElementException();