# HG changeset patch # User Bernhard Urban # Date 1365076117 -7200 # Node ID 3d03bc1de46cfe2f2feb50aa115f6d841451fddd # Parent 251b1c84e6682b045c463457e1c3ee132a59b484 PiNode: add markerinterface IterableNodeType for fast iteration diff -r 251b1c84e668 -r 3d03bc1de46c graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java Fri Apr 05 16:54:55 2013 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java Thu Apr 04 13:48:37 2013 +0200 @@ -22,6 +22,7 @@ */ package com.oracle.graal.nodes; +import com.oracle.graal.graph.*; import com.oracle.graal.nodes.calc.*; import com.oracle.graal.nodes.spi.*; import com.oracle.graal.nodes.type.*; @@ -30,7 +31,7 @@ * A node that changes the type of its input, usually narrowing it. For example, a PI node refines * the type of a receiver during type-guarded inlining to be the type tested by the guard. */ -public class PiNode extends FloatingNode implements LIRLowerable, Virtualizable { +public class PiNode extends FloatingNode implements LIRLowerable, Virtualizable, Node.IterableNodeType { @Input private ValueNode object;