public abstract static class ArrayPrototypeBuiltins.JSArraySortNode extends ArrayPrototypeBuiltins.AbstractArraySortNode
JSBuiltinNode.Inlineable, JSBuiltinNode.InlinedTHROW_ERRORerrorBranch, isTypedArrayImplementationARGUMENTSINTERMEDIATE_VALUE| Constructor and Description |
|---|
JSArraySortNode(JSContext context,
JSBuiltin builtin) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
sort(Object thisObj,
Object comparefn,
com.oracle.truffle.api.profiles.InlinedConditionProfile isJSObject,
com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile) |
protected JSArrayObject |
sortArray(JSArrayObject thisObj,
Object compare,
JSArrayToDenseObjectArrayNode arrayToObjectArrayNode,
JSArrayDeleteRangeNode arrayDeleteRangeNode) |
Object |
sortForeignObject(Object comparefn,
Object thisObj) |
checkCompareCallableOrUndefinedarrayCreate, createEmpty, hasProperty, hasProperty, nextElementIndex, previousElementIndex, read, read, setLength, setLength, setLength, throwLengthError, typedArrayCreateSameType, write, write, writeOwn, writeOwncheckCallbackIsFunction, checkHasDetachedBuffer, getArraySpeciesConstructorNode, getLength, isCallable, reportLoopCount, toObject, toObjectOrValidateTypedArray, validateTypedArraycopyUninitialized, countsTowardsStackTraceLimit, createBuiltin, getArguments, getBuiltin, getContext, getNodeObject, hasTag, isCallerSensitive, isInlineable, isSplitImmediately, tryCreateInlinedaddCallTag, addExpressionTag, addRootBodyTag, addStatementTag, cloneUninitialized, cloneUninitialized, convertIncomingValue, copy, createWrapper, execute, executeBoolean, executeDouble, executeInt, executeLong, executeVoid, expressionToString, findBlockScopeNode, getSourceSection, hasSourceSection, isInstrumentable, isResultAlwaysOfType, onReplace, removeSourceSection, setSourceSection, setSourceSection, toString, transferSourceSection, transferSourceSectionAddExpressionTag, transferSourceSectionAndTagsgetJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, reportLoopCount, reportLoopCountaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecializeprotected JSArrayObject sortArray(JSArrayObject thisObj, Object compare, JSArrayToDenseObjectArrayNode arrayToObjectArrayNode, JSArrayDeleteRangeNode arrayDeleteRangeNode)
protected final Object sort(Object thisObj, Object comparefn, com.oracle.truffle.api.profiles.InlinedConditionProfile isJSObject, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)