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
ConstructorsModifierConstructorDescriptionprotectedContinuationRootNode(Object token, TruffleLanguage<?> language, FrameDescriptor frameDescriptor) Internal constructor for generated code. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract FrameInternal method implemented by the generated code.abstract BytecodeLocationReturns theBytecodeLocationassociated with this continuation.abstract BytecodeRootNodeReturns 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, prepareForCompilation, prepareForInstrumentation, translateStackTraceElementMethods inherited from class com.oracle.truffle.api.nodes.ExecutableNode
getLanguage, getLanguageInfoMethods 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 theBytecodeLocationassociated with this continuation.- Since:
- 24.2
-
findFrame
-