Package com.oracle.truffle.sl.bytecode
Class SLBytecodeRootNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.ExecutableNode
com.oracle.truffle.api.nodes.RootNode
com.oracle.truffle.sl.nodes.SLRootNode
com.oracle.truffle.sl.bytecode.SLBytecodeRootNode
- All Implemented Interfaces:
com.oracle.truffle.api.bytecode.BytecodeRootNode,com.oracle.truffle.api.nodes.NodeInterface,Cloneable
public abstract class SLBytecodeRootNode
extends SLRootNode
implements com.oracle.truffle.api.bytecode.BytecodeRootNode
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final classNested 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
FieldsModifier and TypeFieldDescriptionprotected intprotected com.oracle.truffle.api.strings.TruffleStringFields inherited from class com.oracle.truffle.sl.nodes.SLRootNode
isCloningAllowed -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSLBytecodeRootNode(SLLanguage language, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor) -
Method Summary
Modifier and TypeMethodDescriptionfinal com.oracle.truffle.api.source.SourceSectionfinal Object[]final Object[]getLocalNames(com.oracle.truffle.api.frame.FrameInstance frame) final Object[]getLocalValues(com.oracle.truffle.api.frame.FrameInstance frame) intcom.oracle.truffle.api.strings.TruffleStringvoidsetLocalValues(com.oracle.truffle.api.frame.FrameInstance frame, Object[] args) voidsetParameterCount(int localCount) voidsetTSName(com.oracle.truffle.api.strings.TruffleString tsName) protected ObjecttranslateStackTraceElement(com.oracle.truffle.api.TruffleStackTraceElement element) Methods inherited from class com.oracle.truffle.sl.nodes.SLRootNode
getName, getSourceSection, isCloningAllowed, setCloningAllowed, toStringMethods inherited from class com.oracle.truffle.api.nodes.RootNode
cloneUninitialized, computeSize, copy, countsTowardsStackTraceLimit, createConstantNode, execute, findAsynchronousFrames, findBytecodeIndex, findInstrumentableCallNode, getCallTarget, getFrameDescriptor, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCaptureFramesForTrace, isCaptureFramesForTrace, isCloneUninitializedSupported, isInstrumentable, isInternal, isSameFrame, isTrivial, prepareForAOT, prepareForInstrumentationMethods 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, reportReplaceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.truffle.api.bytecode.BytecodeRootNode
dump, execute, getBytecodeNode, getRootNodes, getStartLocation, interceptControlFlowException, interceptInternalException, interceptTruffleException
-
Field Details
-
tsName
protected com.oracle.truffle.api.strings.TruffleString tsName -
parameterCount
protected int parameterCount
-
-
Constructor Details
-
SLBytecodeRootNode
protected SLBytecodeRootNode(SLLanguage language, com.oracle.truffle.api.frame.FrameDescriptor frameDescriptor)
-
-
Method Details
-
getBodyNode
- Specified by:
getBodyNodein classSLRootNode
-
getArgumentNames
-
setParameterCount
public void setParameterCount(int localCount) -
getParameterCount
public int getParameterCount() -
getTSName
public com.oracle.truffle.api.strings.TruffleString getTSName()- Specified by:
getTSNamein classSLRootNode
-
setTSName
public void setTSName(com.oracle.truffle.api.strings.TruffleString tsName) -
setLocalValues
- Specified by:
setLocalValuesin classSLRootNode
-
getLocalNames
- Specified by:
getLocalNamesin classSLRootNode
-
getLocalValues
- Specified by:
getLocalValuesin classSLRootNode
-
translateStackTraceElement
protected Object translateStackTraceElement(com.oracle.truffle.api.TruffleStackTraceElement element) - Overrides:
translateStackTraceElementin classcom.oracle.truffle.api.nodes.RootNode
-
ensureSourceSection
public final com.oracle.truffle.api.source.SourceSection ensureSourceSection()- Specified by:
ensureSourceSectionin interfacecom.oracle.truffle.api.bytecode.BytecodeRootNode- Specified by:
ensureSourceSectionin classSLRootNode
-