public abstract class JSArrayFirstElementIndexNode extends JSArrayElementIndexNode
context, MAX_CACHED_ARRAY_TYPES| Modifier | Constructor and Description |
|---|---|
protected |
JSArrayFirstElementIndexNode(JSContext context) |
| Modifier and Type | Method and Description |
|---|---|
static JSArrayFirstElementIndexNode |
create(JSContext context) |
long |
doObject(Object object,
long length,
boolean isArray,
JSHasPropertyNode hasPropertyNode) |
long |
doWithHolesCached(JSDynamicObject object,
long length,
boolean isArray,
ScriptArray cachedArrayType,
com.oracle.truffle.api.nodes.Node node,
JSArrayNextElementIndexNode nextElementIndexNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isZero) |
long |
doWithHolesUncached(JSDynamicObject object,
long length,
boolean isArray,
JSArrayNextElementIndexNode nextElementIndexNode,
com.oracle.truffle.api.profiles.InlinedConditionProfile isZero,
com.oracle.truffle.api.profiles.InlinedExactClassProfile arrayTypeProfile) |
long |
doWithoutHolesCached(JSDynamicObject object,
long length,
boolean isArray,
ScriptArray cachedArrayType) |
long |
doWithoutHolesUncached(JSDynamicObject object,
long length,
boolean isArray) |
long |
executeLong(Object object,
long length) |
abstract long |
executeLong(Object object,
long length,
boolean isArray) |
long |
firstObjectViaEnumeration(JSDynamicObject object,
long length,
boolean isArray,
JSHasPropertyNode hasPropertyNode) |
long |
firstObjectViaFullEnumeration(JSDynamicObject object,
long length,
boolean isArray,
JSHasPropertyNode hasPropertyNode) |
getArrayType, getArrayTypeIfArray, hasHoles, hasPrototypeElements, isArray, isSuitableForEnumBasedProcessing, isSuitableForEnumBasedProcessingUsingOwnKeys, isSupportedArraycopy, 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 JSArrayFirstElementIndexNode(JSContext context)
public static JSArrayFirstElementIndexNode create(JSContext context)
public final long executeLong(Object object, long length)
public abstract long executeLong(Object object, long length, boolean isArray)
public long doWithoutHolesCached(JSDynamicObject object, long length, boolean isArray, ScriptArray cachedArrayType)
public long doWithoutHolesUncached(JSDynamicObject object, long length, boolean isArray)
public long doWithHolesCached(JSDynamicObject object, long length, boolean isArray, ScriptArray cachedArrayType, com.oracle.truffle.api.nodes.Node node, JSArrayNextElementIndexNode nextElementIndexNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isZero)
public long doWithHolesUncached(JSDynamicObject object, long length, boolean isArray, JSArrayNextElementIndexNode nextElementIndexNode, com.oracle.truffle.api.profiles.InlinedConditionProfile isZero, com.oracle.truffle.api.profiles.InlinedExactClassProfile arrayTypeProfile)
public long firstObjectViaEnumeration(JSDynamicObject object, long length, boolean isArray, JSHasPropertyNode hasPropertyNode)
public long firstObjectViaFullEnumeration(JSDynamicObject object, long length, boolean isArray, JSHasPropertyNode hasPropertyNode)
public long doObject(Object object, long length, boolean isArray, JSHasPropertyNode hasPropertyNode)