Class JavaScriptRealmBoundaryRootNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
com.oracle.truffle.js.runtime.JavaScriptRootNode
com.oracle.truffle.js.runtime.JavaScriptRealmBoundaryRootNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Direct Known Subclasses:
AbstractFunctionRootNode
A RootNode for all cases where the body could throw and we would need to set the Realm to the
exception.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Field Summary
Fields inherited from class com.oracle.truffle.js.runtime.JavaScriptRootNode
MODULE_DUMMY_FRAMEDESCRIPTOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedJavaScriptRealmBoundaryRootNode(JavaScriptLanguage lang, com.oracle.truffle.api.source.SourceSection sourceSection) protectedJavaScriptRealmBoundaryRootNode(JavaScriptLanguage lang, com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionfinal Objectexecute(com.oracle.truffle.api.frame.VirtualFrame frame) protected abstract ObjectexecuteInRealm(com.oracle.truffle.api.frame.VirtualFrame frame) Methods inherited from class com.oracle.truffle.js.runtime.JavaScriptRootNode
countsTowardsStackTraceLimit, findAsynchronousFrames, getLanguage, getRealm, getSourceSection, isCaptureFramesForTrace, isFunction, isInternal, isResumptionMethods inherited from class com.oracle.truffle.api.nodes.RootNode
cloneUninitialized, computeSize, copy, createConstantNode, findAsynchronousFrames, findBytecodeIndex, findInstrumentableCallNode, getCallTarget, getFrameDescriptor, getName, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCaptureFramesForTrace, isCloneUninitializedSupported, isCloningAllowed, isInstrumentable, 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, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
JavaScriptRealmBoundaryRootNode
protected JavaScriptRealmBoundaryRootNode(JavaScriptLanguage lang, com.oracle.truffle.api.source.SourceSection sourceSection, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor) -
JavaScriptRealmBoundaryRootNode
protected JavaScriptRealmBoundaryRootNode(JavaScriptLanguage lang, com.oracle.truffle.api.source.SourceSection sourceSection) -
JavaScriptRealmBoundaryRootNode
-
-
Method Details
-
execute
- Specified by:
executein classcom.oracle.truffle.api.nodes.RootNode
-
executeInRealm
-