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 |
INTERMEDIATE_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(com.oracle.truffle.api.object.DynamicObject 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 void |
validateTypedArray(Object obj)
ES2016, 22.2.3.5.1 ValidateTypedArray(O).
|
copyUninitialized, 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 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(com.oracle.truffle.api.object.DynamicObject view)
protected final void validateTypedArray(Object obj)
protected void reportLoopCount(long count)
public static void reportLoopCount(com.oracle.truffle.api.nodes.Node node,
long count)