Class ConstructorRootNode
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.nodes.function.ConstructorRootNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
-
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
FieldsModifier and TypeFieldDescriptionprotected final com.oracle.truffle.api.CallTargetprotected final JSFunctionDataprotected final JSOrdinaryprotected final booleanFields inherited from class JavaScriptRootNode
MODULE_DUMMY_FRAMEDESCRIPTOR -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructorRootNode(JSFunctionData functionData, com.oracle.truffle.api.CallTarget callTarget, boolean newTarget, JSOrdinary instanceLayout) -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaScriptRootNodeprotected final Objectconstruct(com.oracle.truffle.api.frame.VirtualFrame frame, com.oracle.truffle.api.nodes.DirectCallNode callNode, SpecializedNewObjectNode newObjectNode, IsObjectNode isObjectNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isObjectProfile) static ConstructorRootNodecreate(JSFunctionData functionData, com.oracle.truffle.api.CallTarget callTarget, boolean newTarget) static ConstructorRootNodecreate(JSFunctionData functionData, com.oracle.truffle.api.CallTarget callTarget, boolean newTarget, JSOrdinary instanceLayout) protected booleanbooleanbooleantoString()Methods inherited from class JavaScriptRootNode
countsTowardsStackTraceLimit, findAsynchronousFrames, getLanguage, getRealm, getSourceSection, isCaptureFramesForTrace, isFunction, isResumptionMethods inherited from class com.oracle.truffle.api.nodes.RootNode
computeSize, copy, createConstantNode, execute, findAsynchronousFrames, findBytecodeIndex, findInstrumentableCallNode, getCallTarget, getFrameDescriptor, getName, getParentFrameDescriptor, getQualifiedName, isCaptureFramesForTrace, isCaptureFramesForTrace, isInstrumentable, isSameFrame, isTrivial, prepareForAOT, prepareForCall, 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
-
Field Details
-
functionData
-
callTarget
protected final com.oracle.truffle.api.CallTarget callTarget -
newTarget
protected final boolean newTarget -
instanceLayout
-
-
Constructor Details
-
ConstructorRootNode
protected ConstructorRootNode(JSFunctionData functionData, com.oracle.truffle.api.CallTarget callTarget, boolean newTarget, JSOrdinary instanceLayout)
-
-
Method Details
-
create
public static ConstructorRootNode create(JSFunctionData functionData, com.oracle.truffle.api.CallTarget callTarget, boolean newTarget, JSOrdinary instanceLayout) -
create
public static ConstructorRootNode create(JSFunctionData functionData, com.oracle.truffle.api.CallTarget callTarget, boolean newTarget) -
construct
protected final Object construct(com.oracle.truffle.api.frame.VirtualFrame frame, com.oracle.truffle.api.nodes.DirectCallNode callNode, SpecializedNewObjectNode newObjectNode, IsObjectNode isObjectNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isObjectProfile) -
isCloningAllowed
public boolean isCloningAllowed()- Overrides:
isCloningAllowedin classcom.oracle.truffle.api.nodes.RootNode
-
isCloneUninitializedSupported
protected boolean isCloneUninitializedSupported()- Overrides:
isCloneUninitializedSupportedin classcom.oracle.truffle.api.nodes.RootNode
-
isInternal
public boolean isInternal()- Overrides:
isInternalin classJavaScriptRootNode
-
cloneUninitialized
- Overrides:
cloneUninitializedin classcom.oracle.truffle.api.nodes.RootNode
-
toString
- Overrides:
toStringin classcom.oracle.truffle.api.nodes.Node
-