public abstract static class ArrayPrototypeBuiltins.JSArrayOperation extends ArrayPrototypeBuiltins.BasicArrayOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
THROW_ERROR |
errorBranch, isTypedArrayImplementationARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSArrayOperation(JSContext context,
JSBuiltin builtin) |
JSArrayOperation(JSContext context,
JSBuiltin builtin,
boolean isTypedArrayImplementation) |
| Modifier and Type | Method and Description |
|---|---|
protected JSArrayObject |
arrayCreate(long length) |
protected JSObject |
createEmpty(Object thisObj,
long length) |
protected boolean |
hasProperty(Object target,
long propertyIdx) |
protected boolean |
hasProperty(Object target,
Object propertyName) |
protected long |
nextElementIndex(Object target,
long currentIndex,
long length) |
protected long |
previousElementIndex(Object target,
long currentIndex) |
protected Object |
read(Object target,
int index) |
protected Object |
read(Object target,
long index) |
protected void |
setLength(Object thisObject,
double length) |
protected void |
setLength(Object thisObject,
int length) |
protected void |
setLength(Object thisObject,
long length) |
protected static void |
throwLengthError() |
protected void |
write(Object target,
int index,
Object value) |
protected void |
write(Object target,
long index,
Object value) |
protected void |
writeOwn(Object target,
int index,
Object value) |
protected void |
writeOwn(Object target,
long index,
Object value) |
checkCallbackIsFunction, 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 final boolean THROW_ERROR
public JSArrayOperation(JSContext context, JSBuiltin builtin, boolean isTypedArrayImplementation)
protected void setLength(Object thisObject, int length)
protected void setLength(Object thisObject, long length)
protected void setLength(Object thisObject, double length)
protected boolean hasProperty(Object target, long propertyIdx)
protected long nextElementIndex(Object target, long currentIndex, long length)
protected long previousElementIndex(Object target, long currentIndex)
protected static final void throwLengthError()
protected JSArrayObject arrayCreate(long length)