Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLLongLiteralNode.java @ 13836:64c77f0577bb
More documentation and improvements of Simple Language
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Thu, 30 Jan 2014 17:53:27 -0800 |
parents | b16ec83edc73 |
children | c929a4a3b6c5 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLLongLiteralNode.java Thu Jan 30 17:52:24 2014 -0800 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLLongLiteralNode.java Thu Jan 30 17:53:27 2014 -0800 @@ -26,6 +26,11 @@ import com.oracle.truffle.api.nodes.*; import com.oracle.truffle.sl.nodes.*; +/** + * Constant literal for a primitive {@code long} value. The unboxed value can be returned when the + * parent expects a long value and calls {@link SLLongLiteralNode#executeLong}. In the generic case, + * the primitive value is automatically boxed by Java. + */ @NodeInfo(shortName = "const") public final class SLLongLiteralNode extends SLExpressionNode {