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