public abstract class JSArrayToDenseObjectArrayNode extends JavaScriptBaseNode
Array.prototype.sort.| Modifier | Constructor and Description |
|---|---|
protected |
JSArrayToDenseObjectArrayNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected Object[] |
doUncached(JSDynamicObject array,
ScriptArray arrayType,
long length,
JSArrayNextElementIndexNode nextElementIndexNode,
ReadElementNode readNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile) |
abstract Object[] |
executeObjectArray(JSDynamicObject array,
ScriptArray arrayType,
long length) |
protected static Object[] |
fromDenseArray(JSDynamicObject array,
ScriptArray arrayType,
long length,
ScriptArray cachedArrayType,
ReadElementNode readNode) |
protected static Object[] |
fromSparseArray(JSDynamicObject array,
ScriptArray arrayType,
long length,
ScriptArray cachedArrayType,
com.oracle.truffle.api.nodes.Node node,
JSArrayNextElementIndexNode nextElementIndexNode,
com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringprotected final JSContext context
protected JSArrayToDenseObjectArrayNode(JSContext context)
public abstract Object[] executeObjectArray(JSDynamicObject array, ScriptArray arrayType, long length)
protected static Object[] fromDenseArray(JSDynamicObject array, ScriptArray arrayType, long length, ScriptArray cachedArrayType, ReadElementNode readNode)
protected static Object[] fromSparseArray(JSDynamicObject array, ScriptArray arrayType, long length, ScriptArray cachedArrayType, com.oracle.truffle.api.nodes.Node node, JSArrayNextElementIndexNode nextElementIndexNode, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)
protected Object[] doUncached(JSDynamicObject array, ScriptArray arrayType, long length, JSArrayNextElementIndexNode nextElementIndexNode, ReadElementNode readNode, com.oracle.truffle.api.profiles.InlinedBranchProfile growProfile)