# HG changeset patch # User Gilles Duboscq # Date 1386961020 -3600 # Node ID e3f15a21b7a1af1b0af93f71d26aad99080eace7 # Parent 5a7508f1a7ffbca5c4d5176a81e6af64cd77a18a Cosmetic javadoc changes to StateSplit and NodeWithState diff -r 5a7508f1a7ff -r e3f15a21b7a1 graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/StateSplit.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/StateSplit.java Tue Dec 17 10:57:18 2013 +0100 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/StateSplit.java Fri Dec 13 19:57:00 2013 +0100 @@ -42,9 +42,9 @@ void setStateAfter(FrameState x); /** - * Determines if this node has a side-effect. Such nodes can not be safely re-executed because - * they modified state which is visible to other thread or modified state beyond what is - * captured in {@link FrameState} nodes. + * Determines if this node has a side-effect. Such nodes cannot be safely re-executed because + * they modify state which is visible to other threads or modify state beyond what is captured + * in {@link FrameState} nodes. */ boolean hasSideEffect(); } diff -r 5a7508f1a7ff -r e3f15a21b7a1 graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/spi/NodeWithState.java --- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/spi/NodeWithState.java Tue Dec 17 10:57:18 2013 +0100 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/spi/NodeWithState.java Fri Dec 13 19:57:00 2013 +0100 @@ -29,13 +29,11 @@ /** * Interface for nodes which have {@link FrameState} nodes as input. *

- * Some node can declare more than one interface which requires a {@link FrameState} input (e.g. + * Some node can implement more than one interface which requires a {@link FrameState} input (e.g. * {@link DeoptimizingNode} and {@link StateSplit}). Since this interface can only report one - * {@link FrameState}, such nodes must ensure they only maintain a link to at most one - * {@link FrameState} at all times. Usually this is not a problem because {@link FrameState} are - * associated only with {@link StateSplit} nodes before the {@link #AFTER_FSA} stage and only with - * {@link DeoptimizingNode} after. - * + * FrameState, such nodes must ensure they only maintain a link to at most one FrameState at all + * times. Usually this is not a problem because FrameStates are associated only with StateSplit + * nodes before the {@link #AFTER_FSA} stage and only with DeoptimizingNodes after. * */ public interface NodeWithState {