Class ArrayPrototypeBuiltins.JSArrayShiftNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
ArrayPrototypeBuiltins

public abstract static class ArrayPrototypeBuiltins.JSArrayShiftNode extends ArrayPrototypeBuiltins.JSArrayOperation
  • Constructor Details

  • Method Details

    • isSparseArray

      protected static boolean isSparseArray(JSDynamicObject thisObj)
    • isArrayWithoutHolesAndNotSealed

      protected static boolean isArrayWithoutHolesAndNotSealed(JSArrayObject thisObj, TestArrayNode hasHolesNode, TestArrayNode isSealedNode)
    • shiftWithoutHoles

      protected Object shiftWithoutHoles(JSArrayObject thisObj, TestArrayNode hasHolesNode, TestArrayNode isSealedNode, com.oracle.truffle.js.builtins.ArrayPrototypeBuiltins.JSArrayShiftNode.ShiftJSArrayNode shiftJSArrayNode, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthLargerOne)
    • isArrayWithHolesOrSealed

      protected static boolean isArrayWithHolesOrSealed(JSArrayObject thisObj, TestArrayNode hasHolesNode, TestArrayNode isSealedNode)
    • shiftWithHoles

      protected Object shiftWithHoles(JSArrayObject thisObj, TestArrayNode hasHolesNode, TestArrayNode isSealedNode, DeletePropertyNode deletePropertyNode, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero)
    • shiftSparse

      protected Object shiftSparse(JSArrayObject thisObj, DeletePropertyNode deletePropertyNode, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero, JSArrayFirstElementIndexNode firstElementIndexNode, JSArrayLastElementIndexNode lastElementIndexNode)
    • shiftGeneric

      protected Object shiftGeneric(Object thisObj, DeletePropertyNode deletePropertyNode, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero)
    • shiftForeign

      protected Object shiftForeign(Object thisObj, com.oracle.truffle.api.interop.InteropLibrary arrays, com.oracle.truffle.api.profiles.InlinedConditionProfile lengthIsZero)