diff graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/InfopointReasonTest.java @ 11633:a0566c8dcabf

removed IterableNodeType from some classes for which typed node iterators were never used or were only used in tests
author Doug Simon <doug.simon@oracle.com>
date Fri, 13 Sep 2013 17:54:59 +0200
parents 9c7d9e2c8326
children 23ccaa863eda
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/InfopointReasonTest.java	Fri Sep 13 16:17:42 2013 +0200
+++ b/graal/com.oracle.graal.compiler.test/src/com/oracle/graal/compiler/test/InfopointReasonTest.java	Fri Sep 13 17:54:59 2013 +0200
@@ -74,7 +74,7 @@
         final Method method = getMethod("testMethod");
         final StructuredGraph graph = parseDebug(method);
         int graphLineSPs = 0;
-        for (InfopointNode ipn : graph.getNodes(InfopointNode.class)) {
+        for (InfopointNode ipn : graph.getNodes().filter(InfopointNode.class)) {
             if (ipn.reason == InfopointReason.LINE_NUMBER) {
                 ++graphLineSPs;
             }