public abstract static class ArrayPrototypeBuiltins.JSArrayShiftNode extends ArrayPrototypeBuiltins.JSArrayOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedTHROW_ERRORerrorBranch, isTypedArrayImplementationINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSArrayShiftNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
isArrayWithHoles(com.oracle.truffle.api.object.DynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode) |
protected static boolean |
isArrayWithoutHoles(com.oracle.truffle.api.object.DynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode) |
protected static boolean |
isSparseArray(com.oracle.truffle.api.object.DynamicObject thisObj) |
protected Object |
shiftForeign(Object thisObj,
com.oracle.truffle.api.interop.InteropLibrary arrays,
com.oracle.truffle.api.profiles.ConditionProfile lengthIsZero) |
protected Object |
shiftGeneric(Object thisObj,
DeletePropertyNode deleteNode,
com.oracle.truffle.api.profiles.ConditionProfile lengthIsZero) |
protected Object |
shiftSparse(com.oracle.truffle.api.object.DynamicObject thisObj,
IsArrayNode isArrayNode,
DeletePropertyNode deletePropertyNode,
com.oracle.truffle.api.profiles.ConditionProfile lengthIsZero,
JSArrayFirstElementIndexNode firstElementIndexNode,
JSArrayLastElementIndexNode lastElementIndexNode) |
protected Object |
shiftWithHoles(com.oracle.truffle.api.object.DynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode,
DeletePropertyNode deletePropertyNode,
com.oracle.truffle.api.profiles.ConditionProfile lengthIsZero) |
protected Object |
shiftWithoutHoles(com.oracle.truffle.api.object.DynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode,
com.oracle.truffle.api.profiles.ValueProfile arrayTypeProfile,
com.oracle.truffle.api.profiles.ConditionProfile lengthIsZero,
com.oracle.truffle.api.profiles.ConditionProfile lengthLargerOne) |
hasProperty, hasProperty, nextElementIndex, previousElementIndex, read, read, setLength, setLength, setLength, throwLengthError, write, write, writeOwn, writeOwncheckCallbackIsFunction, checkHasDetachedBuffer, getArraySpeciesConstructorNode, getLength, isCallable, reportLoopCount, reportLoopCount, toObject, validateTypedArraycopyUninitialized, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeSafeInteger, executeString, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected static boolean isSparseArray(com.oracle.truffle.api.object.DynamicObject thisObj)
protected static boolean isArrayWithoutHoles(com.oracle.truffle.api.object.DynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode)
protected Object shiftWithoutHoles(com.oracle.truffle.api.object.DynamicObject thisObj, IsArrayNode isArrayNode, TestArrayNode hasHolesNode, com.oracle.truffle.api.profiles.ValueProfile arrayTypeProfile, com.oracle.truffle.api.profiles.ConditionProfile lengthIsZero, com.oracle.truffle.api.profiles.ConditionProfile lengthLargerOne)
protected static boolean isArrayWithHoles(com.oracle.truffle.api.object.DynamicObject thisObj,
IsArrayNode isArrayNode,
TestArrayNode hasHolesNode)
protected Object shiftWithHoles(com.oracle.truffle.api.object.DynamicObject thisObj, IsArrayNode isArrayNode, TestArrayNode hasHolesNode, DeletePropertyNode deletePropertyNode, com.oracle.truffle.api.profiles.ConditionProfile lengthIsZero)
protected Object shiftSparse(com.oracle.truffle.api.object.DynamicObject thisObj, IsArrayNode isArrayNode, DeletePropertyNode deletePropertyNode, com.oracle.truffle.api.profiles.ConditionProfile lengthIsZero, JSArrayFirstElementIndexNode firstElementIndexNode, JSArrayLastElementIndexNode lastElementIndexNode)
protected Object shiftGeneric(Object thisObj, DeletePropertyNode deleteNode, com.oracle.truffle.api.profiles.ConditionProfile lengthIsZero)