public abstract static class ArrayPrototypeBuiltins.BasicArrayOperation extends JSBuiltinNode
JSBuiltinNode.Inlineable, JSBuiltinNode.Inlined| Modifier and Type | Field and Description |
|---|---|
protected com.oracle.truffle.api.profiles.BranchProfile |
errorBranch |
protected boolean |
isTypedArrayImplementation |
ARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
BasicArrayOperation(JSContext context,
JSBuiltin builtin) |
BasicArrayOperation(JSContext context,
JSBuiltin builtin,
boolean isTypedArrayImplementation) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
checkCallbackIsFunction(Object callback) |
protected void |
checkHasDetachedBuffer(JSDynamicObject view) |
protected ArrayPrototypeBuiltins.ArraySpeciesConstructorNode |
getArraySpeciesConstructorNode() |
protected long |
getLength(Object thisObject) |
protected boolean |
isCallable(Object callback) |
protected void |
reportLoopCount(long count) |
static void |
reportLoopCount(com.oracle.truffle.api.nodes.Node node,
long count) |
protected Object |
toObject(Object target) |
protected Object |
toObjectOrValidateTypedArray(Object thisObj) |
protected JSTypedArrayObject |
validateTypedArray(Object obj)
ES2016, 22.2.3.5.1 ValidateTypedArray(O).
|
copyUninitialized, 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 final boolean isTypedArrayImplementation
protected final com.oracle.truffle.api.profiles.BranchProfile errorBranch
public BasicArrayOperation(JSContext context, JSBuiltin builtin, boolean isTypedArrayImplementation)
protected long getLength(Object thisObject)
protected final boolean isCallable(Object callback)
protected final ArrayPrototypeBuiltins.ArraySpeciesConstructorNode getArraySpeciesConstructorNode()
protected final void checkHasDetachedBuffer(JSDynamicObject view)
protected final JSTypedArrayObject validateTypedArray(Object obj)
protected void reportLoopCount(long count)
public static void reportLoopCount(com.oracle.truffle.api.nodes.Node node,
long count)