public abstract static class ConstructorBuiltins.ConstructArrayNode extends ConstructorBuiltins.ConstructWithNewTargetNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedisNewTargetCaseARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
ConstructArrayNode(JSContext context,
JSBuiltin builtin,
boolean isNewTargetCase) |
| Modifier and Type | Method and Description |
|---|---|
protected JSObject |
constructArray0(JSDynamicObject newTarget,
Object[] args) |
protected JSObject |
constructArrayVarargs(JSDynamicObject newTarget,
Object[] args,
com.oracle.truffle.api.profiles.InlinedBranchProfile isIntegerCase,
com.oracle.truffle.api.profiles.InlinedBranchProfile isDoubleCase,
com.oracle.truffle.api.profiles.InlinedBranchProfile isObjectCase,
com.oracle.truffle.api.profiles.InlinedConditionProfile isLengthZero) |
protected JSObject |
constructArrayWithIntLength(JSDynamicObject newTarget,
Object[] args) |
protected JSObject |
constructWithForeignArg(JSDynamicObject newTarget,
Object[] args,
com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.interop.InteropLibrary interop,
ArrayCreateNode arrayCreateNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isNumber,
com.oracle.truffle.api.profiles.InlinedBranchProfile rangeErrorProfile) |
protected JSObject |
constructWithLength(JSDynamicObject newTarget,
Object[] args,
ToArrayLengthNode toArrayLengthNode,
ArrayCreateNode arrayCreateNode,
long len) |
JavaScriptNode |
copy() |
protected JSDynamicObject |
getIntrinsicDefaultProto(JSRealm realm) |
protected JSDynamicObject |
getPrototype(JSRealm realm,
JSDynamicObject newTarget) |
protected static boolean |
isOneForeignArg(Object[] args) |
protected static boolean |
isOneIntegerArg(Object[] args) |
protected static boolean |
isOneNumberArg(Object[] args) |
getRealmFromNewTarget, setPrototypeFromNewTarget, swapPrototypecopyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetLanguage, getRealm, hasOverloadedOperatorsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected static boolean isOneNumberArg(Object[] args)
protected static boolean isOneForeignArg(Object[] args)
protected static boolean isOneIntegerArg(Object[] args)
protected JSObject constructArray0(JSDynamicObject newTarget, Object[] args)
protected JSObject constructArrayWithIntLength(JSDynamicObject newTarget, Object[] args)
protected JSObject constructWithLength(JSDynamicObject newTarget, Object[] args, ToArrayLengthNode toArrayLengthNode, ArrayCreateNode arrayCreateNode, long len)
protected JSObject constructWithForeignArg(JSDynamicObject newTarget, Object[] args, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.interop.InteropLibrary interop, ArrayCreateNode arrayCreateNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isNumber, com.oracle.truffle.api.profiles.InlinedBranchProfile rangeErrorProfile)
protected JSObject constructArrayVarargs(JSDynamicObject newTarget, Object[] args, com.oracle.truffle.api.profiles.InlinedBranchProfile isIntegerCase, com.oracle.truffle.api.profiles.InlinedBranchProfile isDoubleCase, com.oracle.truffle.api.profiles.InlinedBranchProfile isObjectCase, com.oracle.truffle.api.profiles.InlinedConditionProfile isLengthZero)
protected JSDynamicObject getPrototype(JSRealm realm, JSDynamicObject newTarget)
getPrototype in class ConstructorBuiltins.ConstructWithNewTargetNodepublic JavaScriptNode copy()
copy in class JavaScriptNodeprotected JSDynamicObject getIntrinsicDefaultProto(JSRealm realm)
getIntrinsicDefaultProto in class ConstructorBuiltins.ConstructWithNewTargetNode