Class ForEachIndexCallNode.ForwardForEachIndexCallNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.ForEachIndexCallNode
com.oracle.truffle.js.nodes.access.ForEachIndexCallNode.ForwardForEachIndexCallNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
- Enclosing class:
ForEachIndexCallNode
protected static final class ForEachIndexCallNode.ForwardForEachIndexCallNode
extends ForEachIndexCallNode
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.js.nodes.access.ForEachIndexCallNode
ForEachIndexCallNode.BackwardForEachIndexCallNode, ForEachIndexCallNode.CallbackNode, ForEachIndexCallNode.ForwardForEachIndexCallNode, ForEachIndexCallNode.MaybeResult<T>, ForEachIndexCallNode.MaybeResultNodeNested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Field Summary
Fields inherited from class com.oracle.truffle.js.nodes.access.ForEachIndexCallNode
checkHasProperty, context, loopCond, maybeResultNode, outOfBoundsBranch, targetClassProfile -
Constructor Summary
ConstructorsConstructorDescriptionForwardForEachIndexCallNode(JSContext context, ForEachIndexCallNode.CallbackNode callbackArgumentsNode, ForEachIndexCallNode.MaybeResultNode maybeResultNode, boolean checkHasProperty) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectexecuteForEachIndexFast(JSDynamicObject target, Object callback, Object callbackThisArg, long fromIndex, long length, Object initialResult) protected ObjectexecuteForEachIndexSlow(Object target, Object callback, Object callbackThisArg, long fromIndex, long length, Object initialResult) Methods inherited from class com.oracle.truffle.js.nodes.access.ForEachIndexCallNode
callback, create, executeForEachIndex, firstElementIndex, foreignRead, getElement, getInterop, hasProperty, isOutOfBounds, lastElementIndex, readElementInBoundsMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
ForwardForEachIndexCallNode
public ForwardForEachIndexCallNode(JSContext context, ForEachIndexCallNode.CallbackNode callbackArgumentsNode, ForEachIndexCallNode.MaybeResultNode maybeResultNode, boolean checkHasProperty)
-
-
Method Details
-
executeForEachIndexFast
protected Object executeForEachIndexFast(JSDynamicObject target, Object callback, Object callbackThisArg, long fromIndex, long length, Object initialResult) - Specified by:
executeForEachIndexFastin classForEachIndexCallNode
-
executeForEachIndexSlow
protected Object executeForEachIndexSlow(Object target, Object callback, Object callbackThisArg, long fromIndex, long length, Object initialResult) - Specified by:
executeForEachIndexSlowin classForEachIndexCallNode
-