public abstract static class ArrayPrototypeBuiltins.JSArrayAbstractSortNode extends ArrayPrototypeBuiltins.JSArrayOperation
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedTHROW_ERRORerrorBranch, isTypedArrayImplementationARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSArrayAbstractSortNode(JSContext context,
JSBuiltin builtin,
boolean isTypedArrayImplementation) |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
foreignArrayToObjectArray(Object thisObj,
int len) |
protected static Object[] |
jsobjectToArray(JSDynamicObject thisObj,
long len,
boolean skipHoles,
com.oracle.truffle.api.nodes.Node node,
com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile) |
protected static void |
sortIntl(Comparator<Object> comparator,
Object[] array) |
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 Object[] jsobjectToArray(JSDynamicObject thisObj, long len, boolean skipHoles, com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)
protected static void sortIntl(Comparator<Object> comparator, Object[] array)