Package com.oracle.truffle.api.bytecode
Class ContinuationRootNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
com.oracle.truffle.api.bytecode.ContinuationRootNode
- All Implemented Interfaces:
NodeInterface
,Cloneable
Abstract class representing the root node for a continuation.
These root nodes have a precise calling convention; see
ContinuationResult.getContinuationCallTarget()
.
If a bytecode interpreter supports continuations
, the
Bytecode DSL will generate a concrete implementation of this interface. It should not be
subclassed manually.
- Since:
- 24.2
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
Node.Child, Node.Children
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ContinuationRootNode
(Object token, TruffleLanguage<?> language, FrameDescriptor frameDescriptor) Internal constructor for generated code. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Frame
Internal method implemented by the generated code.abstract BytecodeLocation
Returns theBytecodeLocation
associated with this continuation.abstract BytecodeRootNode
Returns the original root node from which this continuation was created.Methods inherited from class com.oracle.truffle.api.nodes.RootNode
cloneUninitialized, computeSize, copy, countsTowardsStackTraceLimit, createConstantNode, execute, findAsynchronousFrames, findBytecodeIndex, findInstrumentableCallNode, getCallTarget, getFrameDescriptor, getName, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCaptureFramesForTrace, isCaptureFramesForTrace, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, isInternal, isSameFrame, isTrivial, prepareForAOT, prepareForCall, prepareForCompilation, prepareForInstrumentation, translateStackTraceElement
Methods inherited from class com.oracle.truffle.api.nodes.ExecutableNode
getLanguage, getLanguageInfo
Methods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
ContinuationRootNode
protected ContinuationRootNode(Object token, TruffleLanguage<?> language, FrameDescriptor frameDescriptor) Internal constructor for generated code. Do not use.- Since:
- 24.2
-
-
Method Details
-
getSourceRootNode
Returns the original root node from which this continuation was created.- Since:
- 24.2
-
getLocation
Returns theBytecodeLocation
associated with this continuation.- Since:
- 24.2
-
findFrame
Internal method implemented by the generated code. Do not use.- Since:
- 24.2
-