public abstract static class ArrayPrototypeBuiltins.JSArrayShiftNode extends ArrayPrototypeBuiltins.JSArrayOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedTHROW_ERRORerrorBranch, isTypedArrayImplementationARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSArrayShiftNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
isArrayWithHolesOrSealed(JSDynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode,
TestArrayNode isSealedNode) |
protected static boolean |
isArrayWithoutHolesAndNotSealed(JSDynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode,
TestArrayNode isSealedNode) |
protected static boolean |
isSparseArray(JSDynamicObject thisObj) |
protected Object |
shiftForeign(Object thisObj,
com.oracle.truffle.api.interop.InteropLibrary arrays,
com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero) |
protected Object |
shiftGeneric(Object thisObj,
DeletePropertyNode deleteNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero) |
protected Object |
shiftSparse(JSDynamicObject thisObj,
IsArrayNode isArrayNode,
DeletePropertyNode deletePropertyNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero,
JSArrayFirstElementIndexNode firstElementIndexNode,
JSArrayLastElementIndexNode lastElementIndexNode) |
protected Object |
shiftWithHoles(JSDynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode,
TestArrayNode isSealedNode,
DeletePropertyNode deletePropertyNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero) |
protected Object |
shiftWithoutHoles(JSDynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode,
TestArrayNode isSealedNode,
com.oracle.truffle.api.profiles.InlinedExactClassProfile arrayTypeProfile,
com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero,
com.oracle.truffle.api.profiles.InlinedConditionProfile lengthLargerOne) |
arrayCreate, createEmpty, hasProperty, hasProperty, nextElementIndex, previousElementIndex, read, read, setLength, setLength, setLength, throwLengthError, write, write, writeOwn, writeOwncheckCallbackIsFunction, checkHasDetachedBuffer, getArraySpeciesConstructorNode, getLength, isCallable, reportLoopCount, reportLoopCount, toObject, toObjectOrValidateTypedArray, validateTypedArraycopyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, 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 isSparseArray(JSDynamicObject thisObj)
protected static boolean isArrayWithoutHolesAndNotSealed(JSDynamicObject thisObj, IsArrayNode isArrayNode, TestArrayNode hasHolesNode, TestArrayNode isSealedNode)
protected Object shiftWithoutHoles(JSDynamicObject thisObj, IsArrayNode isArrayNode, TestArrayNode hasHolesNode, TestArrayNode isSealedNode, com.oracle.truffle.api.profiles.InlinedExactClassProfile arrayTypeProfile, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthLargerOne)
protected static boolean isArrayWithHolesOrSealed(JSDynamicObject thisObj, IsArrayNode isArrayNode, TestArrayNode hasHolesNode, TestArrayNode isSealedNode)
protected Object shiftWithHoles(JSDynamicObject thisObj, IsArrayNode isArrayNode, TestArrayNode hasHolesNode, TestArrayNode isSealedNode, DeletePropertyNode deletePropertyNode, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero)
protected Object shiftSparse(JSDynamicObject thisObj, IsArrayNode isArrayNode, DeletePropertyNode deletePropertyNode, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero, JSArrayFirstElementIndexNode firstElementIndexNode, JSArrayLastElementIndexNode lastElementIndexNode)
protected Object shiftGeneric(Object thisObj, DeletePropertyNode deleteNode, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero)