public abstract static class ConstructorBuiltins.ConstructSetNode extends ConstructorBuiltins.JSConstructIterableOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined
isNewTargetCase
ARGUMENTS
INTERMEDIATE_VALUE
Constructor and Description |
---|
ConstructSetNode(JSContext context,
JSBuiltin builtin,
boolean isNewTargetCase) |
Modifier and Type | Method and Description |
---|---|
protected JSObject |
constructEmptySet(JSDynamicObject newTarget,
Object iterable) |
protected JSObject |
constructSetFromIterable(JSDynamicObject newTarget,
Object iterable,
com.oracle.truffle.api.nodes.Node node,
IsCallableNode isCallableNode,
GetIteratorNode getIteratorNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) |
protected JSDynamicObject |
getIntrinsicDefaultProto(JSRealm realm) |
protected JSObject |
newSetObject() |
call, getAdderFn, getIteratorValue, iteratorCloseAbrupt, iteratorStep
getRealmFromNewTarget, setPrototypeFromNewTarget, swapPrototype
copyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlined
addCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTags
getLanguage, getRealm, hasOverloadedOperators
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize
protected JSObject constructEmptySet(JSDynamicObject newTarget, Object iterable)
protected JSObject constructSetFromIterable(JSDynamicObject newTarget, Object iterable, com.oracle.truffle.api.nodes.Node node, IsCallableNode isCallableNode, GetIteratorNode getIteratorNode, com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
protected JSObject newSetObject()
protected JSDynamicObject getIntrinsicDefaultProto(JSRealm realm)
getIntrinsicDefaultProto
in class ConstructorBuiltins.ConstructWithNewTargetNode