Mercurial > hg > graal-compiler
changeset 6467:5d398a326315
documented PiNode
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 01 Oct 2012 16:02:39 +0200 |
parents | 3d6a1007190d |
children | afe7d46f1311 |
files | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java Mon Oct 01 16:01:36 2012 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/PiNode.java Mon Oct 01 16:02:39 2012 +0200 @@ -26,7 +26,11 @@ import com.oracle.graal.nodes.spi.*; import com.oracle.graal.nodes.type.*; - +/** + * 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 { @Input private ValueNode object;