Mercurial > hg > truffle
changeset 13355:e3f15a21b7a1
Cosmetic javadoc changes to StateSplit and NodeWithState
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 13 Dec 2013 19:57:00 +0100 |
parents | 5a7508f1a7ff |
children | 47d184ba15b6 |
files | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/StateSplit.java graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/spi/NodeWithState.java |
diffstat | 2 files changed, 7 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- 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(); }
--- 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. * <p> - * 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 {