public final class SLLongLiteralNode extends SLExpressionNode
long value. The unboxed value can be returned when the
parent expects a long value and calls SLLongLiteralNode.executeLong(com.oracle.truffle.api.frame.VirtualFrame). In the generic case,
the primitive value is automatically boxed by Java.| Constructor and Description |
|---|
SLLongLiteralNode(long value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
executeGeneric(com.oracle.truffle.api.frame.VirtualFrame frame)
The execute method when no specialization is possible.
|
long |
executeLong(com.oracle.truffle.api.frame.VirtualFrame frame) |
addExpressionTag, createWrapper, executeBoolean, executeVoid, hasTagaddRootTag, addStatementTag, formatSourceSection, getSourceCharIndex, getSourceEndIndex, getSourceLength, getSourceSection, hasSource, isInstrumentable, setSourceSection, setUnavailableSourceSection, toStringfindBlock, getVisibleVariablesIndexOnEnter, hasScope, setVisibleVariablesIndexOnEnter, setVisibleVariablesIndexOnExitaccept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecializepublic long executeLong(com.oracle.truffle.api.frame.VirtualFrame frame)
throws com.oracle.truffle.api.nodes.UnexpectedResultException
executeLong in class SLExpressionNodecom.oracle.truffle.api.nodes.UnexpectedResultExceptionpublic Object executeGeneric(com.oracle.truffle.api.frame.VirtualFrame frame)
SLExpressionNodeexecuteGeneric in class SLExpressionNode