public abstract class com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode extends com.oracle.truffle.js.nodes.array.JSArrayElementIndexNode
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode
  super_class: com.oracle.truffle.js.nodes.array.JSArrayElementIndexNode
{
  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 62
            ldc Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  protected void <init>(com.oracle.truffle.js.runtime.JSContext);
    descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // com.oracle.truffle.js.runtime.JSContext context
         0: .line 65
            aload 0 /* this */
            aload 1 /* context */
            invokespecial com.oracle.truffle.js.nodes.array.JSArrayElementIndexNode.<init>:(Lcom/oracle/truffle/js/runtime/JSContext;)V
         1: .line 66
            return
        end local 1 // com.oracle.truffle.js.runtime.JSContext context
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0    2     1  context  Lcom/oracle/truffle/js/runtime/JSContext;
    MethodParameters:
         Name  Flags
      context  

  public static com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode create(com.oracle.truffle.js.runtime.JSContext);
    descriptor: (Lcom/oracle/truffle/js/runtime/JSContext;)Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
         0: .line 69
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tJSArrayLastElementIndexNodeGen cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    MethodParameters:
         Name  Flags
      context  

  public final long executeLong(java.lang.Object, long);
    descriptor: (Ljava/lang/Object;J)J
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL
    Code:
      stack=6, locals=4, args_size=3
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // java.lang.Object object
        start local 2 // long length
         0: .line 73
            aload 0 /* this */
            aload 1 /* object */
            lload 2 /* length */
            aload 0 /* this */
            aload 1 /* object */
            invokevirtual com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.isArray:(Ljava/lang/Object;)Z
            invokevirtual com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.executeLong:(Ljava/lang/Object;JZ)J
            lreturn
        end local 2 // long length
        end local 1 // java.lang.Object object
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0    1     1  object  Ljava/lang/Object;
            0    1     2  length  J
    MethodParameters:
        Name  Flags
      object  
      length  

  public abstract long executeLong(java.lang.Object, long, boolean);
    descriptor: (Ljava/lang/Object;JZ)J
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    MethodParameters:
         Name  Flags
      object   
      length   
      isArray  

  public long doWithoutHolesCached(com.oracle.truffle.api.object.DynamicObject, long, boolean, com.oracle.truffle.js.runtime.array.ScriptArray);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JZLcom/oracle/truffle/js/runtime/array/ScriptArray;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=6, args_size=5
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // com.oracle.truffle.api.object.DynamicObject object
        start local 2 // long length
        start local 4 // boolean isArray
        start local 5 // com.oracle.truffle.js.runtime.array.ScriptArray cachedArrayType
         0: .line 82
            getstatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.$assertionsDisabled:Z
            ifne 2
            aload 1 /* object */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.isSupportedArray:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
            ifeq 1
            aload 5 /* cachedArrayType */
            aload 1 /* object */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.getArrayType:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
            if_acmpeq 2
      StackMap locals:
      StackMap stack:
         1: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 83
      StackMap locals:
      StackMap stack:
            aload 5 /* cachedArrayType */
            aload 1 /* object */
            invokevirtual com.oracle.truffle.js.runtime.array.ScriptArray.lastElementIndex:(Lcom/oracle/truffle/api/object/DynamicObject;)J
            lreturn
        end local 5 // com.oracle.truffle.js.runtime.array.ScriptArray cachedArrayType
        end local 4 // boolean isArray
        end local 2 // long length
        end local 1 // com.oracle.truffle.api.object.DynamicObject object
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    3     0             this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0    3     1           object  Lcom/oracle/truffle/api/object/DynamicObject;
            0    3     2           length  J
            0    3     4          isArray  Z
            0    3     5  cachedArrayType  Lcom/oracle/truffle/js/runtime/array/ScriptArray;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.dsl.Specialization(guards = {"isArray", "!hasPrototypeElements(object)", "getArrayType(object) == cachedArrayType", "!cachedArrayType.hasHoles(object)"}, limit = "MAX_CACHED_ARRAY_TYPES")
    RuntimeInvisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
        com.oracle.truffle.api.dsl.Cached(value = "getArrayTypeIfArray(object, isArray)")
    MethodParameters:
                 Name  Flags
      object           
      length           
      isArray          
      cachedArrayType  

  public long doWithoutHolesUncached(com.oracle.truffle.api.object.DynamicObject, long, boolean);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JZ)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=4
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // com.oracle.truffle.api.object.DynamicObject object
        start local 2 // long length
        start local 4 // boolean isArray
         0: .line 88
            getstatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.$assertionsDisabled:Z
            ifne 1
            aload 1 /* object */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.isSupportedArray:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 89
      StackMap locals:
      StackMap stack:
            aload 1 /* object */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.getArrayType:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
            aload 1 /* object */
            invokevirtual com.oracle.truffle.js.runtime.array.ScriptArray.lastElementIndex:(Lcom/oracle/truffle/api/object/DynamicObject;)J
            lreturn
        end local 4 // boolean isArray
        end local 2 // long length
        end local 1 // com.oracle.truffle.api.object.DynamicObject object
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0    2     1   object  Lcom/oracle/truffle/api/object/DynamicObject;
            0    2     2   length  J
            0    2     4  isArray  Z
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.dsl.Specialization(guards = {"isArray", "!hasPrototypeElements(object)", "!hasHoles(object)"}, replaces = {"doWithoutHolesCached"})
    MethodParameters:
         Name  Flags
      object   
      length   
      isArray  

  public long doWithHolesCached(com.oracle.truffle.api.object.DynamicObject, long, boolean, com.oracle.truffle.js.runtime.array.ScriptArray, com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode, com.oracle.truffle.api.profiles.ConditionProfile);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JZLcom/oracle/truffle/js/runtime/array/ScriptArray;Lcom/oracle/truffle/js/nodes/array/JSArrayPreviousElementIndexNode;Lcom/oracle/truffle/api/profiles/ConditionProfile;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=8, args_size=7
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // com.oracle.truffle.api.object.DynamicObject object
        start local 2 // long length
        start local 4 // boolean isArray
        start local 5 // com.oracle.truffle.js.runtime.array.ScriptArray cachedArrayType
        start local 6 // com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode previousElementIndexNode
        start local 7 // com.oracle.truffle.api.profiles.ConditionProfile isLengthMinusOne
         0: .line 98
            getstatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.$assertionsDisabled:Z
            ifne 2
            aload 1 /* object */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.isSupportedArray:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
            ifeq 1
            aload 5 /* cachedArrayType */
            aload 1 /* object */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.getArrayType:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
            if_acmpeq 2
      StackMap locals:
      StackMap stack:
         1: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 99
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* object */
            lload 2 /* length */
            aload 5 /* cachedArrayType */
            aload 6 /* previousElementIndexNode */
            aload 7 /* isLengthMinusOne */
            iload 4 /* isArray */
            invokevirtual com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.holesArrayImpl:(Lcom/oracle/truffle/api/object/DynamicObject;JLcom/oracle/truffle/js/runtime/array/ScriptArray;Lcom/oracle/truffle/js/nodes/array/JSArrayPreviousElementIndexNode;Lcom/oracle/truffle/api/profiles/ConditionProfile;Z)J
            lreturn
        end local 7 // com.oracle.truffle.api.profiles.ConditionProfile isLengthMinusOne
        end local 6 // com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode previousElementIndexNode
        end local 5 // com.oracle.truffle.js.runtime.array.ScriptArray cachedArrayType
        end local 4 // boolean isArray
        end local 2 // long length
        end local 1 // com.oracle.truffle.api.object.DynamicObject object
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0    3     0                      this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0    3     1                    object  Lcom/oracle/truffle/api/object/DynamicObject;
            0    3     2                    length  J
            0    3     4                   isArray  Z
            0    3     5           cachedArrayType  Lcom/oracle/truffle/js/runtime/array/ScriptArray;
            0    3     6  previousElementIndexNode  Lcom/oracle/truffle/js/nodes/array/JSArrayPreviousElementIndexNode;
            0    3     7          isLengthMinusOne  Lcom/oracle/truffle/api/profiles/ConditionProfile;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.dsl.Specialization(guards = {"isArray", "!hasPrototypeElements(object)", "getArrayType(object) == cachedArrayType", "cachedArrayType.hasHoles(object)"}, limit = "MAX_CACHED_ARRAY_TYPES")
    RuntimeInvisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
        com.oracle.truffle.api.dsl.Cached(value = "getArrayTypeIfArray(object, isArray)")
      4:
        com.oracle.truffle.api.dsl.Cached(value = "create(context)")
      5:
        com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
    MethodParameters:
                          Name  Flags
      object                    
      length                    
      isArray                   
      cachedArrayType           
      previousElementIndexNode  
      isLengthMinusOne          

  public long doWithHolesUncached(com.oracle.truffle.api.object.DynamicObject, long, boolean, com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode, com.oracle.truffle.api.profiles.ConditionProfile, com.oracle.truffle.api.profiles.ValueProfile);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JZLcom/oracle/truffle/js/nodes/array/JSArrayPreviousElementIndexNode;Lcom/oracle/truffle/api/profiles/ConditionProfile;Lcom/oracle/truffle/api/profiles/ValueProfile;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=9, args_size=7
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // com.oracle.truffle.api.object.DynamicObject object
        start local 2 // long length
        start local 4 // boolean isArray
        start local 5 // com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode previousElementIndexNode
        start local 6 // com.oracle.truffle.api.profiles.ConditionProfile isLengthMinusOne
        start local 7 // com.oracle.truffle.api.profiles.ValueProfile arrayTypeProfile
         0: .line 107
            getstatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.$assertionsDisabled:Z
            ifne 1
            aload 1 /* object */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.isSupportedArray:(Lcom/oracle/truffle/api/object/DynamicObject;)Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 108
      StackMap locals:
      StackMap stack:
            aload 7 /* arrayTypeProfile */
            aload 1 /* object */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.getArrayType:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/js/runtime/array/ScriptArray;
            invokevirtual com.oracle.truffle.api.profiles.ValueProfile.profile:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.js.runtime.array.ScriptArray
            astore 8 /* arrayType */
        start local 8 // com.oracle.truffle.js.runtime.array.ScriptArray arrayType
         2: .line 109
            aload 0 /* this */
            aload 1 /* object */
            lload 2 /* length */
            aload 8 /* arrayType */
            aload 5 /* previousElementIndexNode */
            aload 6 /* isLengthMinusOne */
            iload 4 /* isArray */
            invokevirtual com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.holesArrayImpl:(Lcom/oracle/truffle/api/object/DynamicObject;JLcom/oracle/truffle/js/runtime/array/ScriptArray;Lcom/oracle/truffle/js/nodes/array/JSArrayPreviousElementIndexNode;Lcom/oracle/truffle/api/profiles/ConditionProfile;Z)J
            lreturn
        end local 8 // com.oracle.truffle.js.runtime.array.ScriptArray arrayType
        end local 7 // com.oracle.truffle.api.profiles.ValueProfile arrayTypeProfile
        end local 6 // com.oracle.truffle.api.profiles.ConditionProfile isLengthMinusOne
        end local 5 // com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode previousElementIndexNode
        end local 4 // boolean isArray
        end local 2 // long length
        end local 1 // com.oracle.truffle.api.object.DynamicObject object
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0    3     0                      this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0    3     1                    object  Lcom/oracle/truffle/api/object/DynamicObject;
            0    3     2                    length  J
            0    3     4                   isArray  Z
            0    3     5  previousElementIndexNode  Lcom/oracle/truffle/js/nodes/array/JSArrayPreviousElementIndexNode;
            0    3     6          isLengthMinusOne  Lcom/oracle/truffle/api/profiles/ConditionProfile;
            0    3     7          arrayTypeProfile  Lcom/oracle/truffle/api/profiles/ValueProfile;
            2    3     8                 arrayType  Lcom/oracle/truffle/js/runtime/array/ScriptArray;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.dsl.Specialization(guards = {"isArray", "hasPrototypeElements(object) || hasHoles(object)"}, replaces = {"doWithHolesCached"})
    RuntimeInvisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
        com.oracle.truffle.api.dsl.Cached(value = "create(context)")
      4:
        com.oracle.truffle.api.dsl.Cached(value = "createBinaryProfile()")
      5:
        com.oracle.truffle.api.dsl.Cached(value = "createClassProfile()")
    MethodParameters:
                          Name  Flags
      object                    
      length                    
      isArray                   
      previousElementIndexNode  
      isLengthMinusOne          
      arrayTypeProfile          

  private long holesArrayImpl(com.oracle.truffle.api.object.DynamicObject, long, com.oracle.truffle.js.runtime.array.ScriptArray, com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode, com.oracle.truffle.api.profiles.ConditionProfile, boolean);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JLcom/oracle/truffle/js/runtime/array/ScriptArray;Lcom/oracle/truffle/js/nodes/array/JSArrayPreviousElementIndexNode;Lcom/oracle/truffle/api/profiles/ConditionProfile;Z)J
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=13, args_size=7
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // com.oracle.truffle.api.object.DynamicObject object
        start local 2 // long length
        start local 4 // com.oracle.truffle.js.runtime.array.ScriptArray array
        start local 5 // com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode previousElementIndexNode
        start local 6 // com.oracle.truffle.api.profiles.ConditionProfile isLengthMinusOne
        start local 7 // boolean isArray
         0: .line 114
            aload 4 /* array */
            aload 1 /* object */
            invokevirtual com.oracle.truffle.js.runtime.array.ScriptArray.lastElementIndex:(Lcom/oracle/truffle/api/object/DynamicObject;)J
            lstore 8 /* lastIndex */
        start local 8 // long lastIndex
         1: .line 115
            aload 6 /* isLengthMinusOne */
            lload 8 /* lastIndex */
            lload 2 /* length */
            lconst_1
            lsub
            lcmp
            ifne 2
            iconst_1
            goto 3
      StackMap locals: com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode com.oracle.truffle.api.object.DynamicObject long com.oracle.truffle.js.runtime.array.ScriptArray com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode com.oracle.truffle.api.profiles.ConditionProfile int long
      StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile
         2: iconst_0
      StackMap locals: com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode com.oracle.truffle.api.object.DynamicObject long com.oracle.truffle.js.runtime.array.ScriptArray com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode com.oracle.truffle.api.profiles.ConditionProfile int long
      StackMap stack: com.oracle.truffle.api.profiles.ConditionProfile int
         3: invokevirtual com.oracle.truffle.api.profiles.ConditionProfile.profile:(Z)Z
            ifeq 5
         4: .line 116
            lload 8 /* lastIndex */
            lreturn
         5: .line 120
      StackMap locals:
      StackMap stack:
            aload 1 /* object */
            astore 10 /* prototype */
        start local 10 // com.oracle.truffle.api.object.DynamicObject prototype
         6: .line 121
            goto 13
         7: .line 122
      StackMap locals: com.oracle.truffle.api.object.DynamicObject
      StackMap stack:
            aload 5 /* previousElementIndexNode */
            aload 10 /* prototype */
            lload 2 /* length */
            invokevirtual com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode.executeLong:(Ljava/lang/Object;J)J
            lstore 11 /* candidate */
        start local 11 // long candidate
         8: .line 123
            lload 8 /* lastIndex */
            lload 11 /* candidate */
            invokestatic java.lang.Math.max:(JJ)J
            lstore 8 /* lastIndex */
         9: .line 124
            lload 8 /* lastIndex */
            lload 2 /* length */
            lconst_1
            lsub
            lcmp
            iflt 11
        10: .line 125
            lload 2 /* length */
            lconst_1
            lsub
            lreturn
        11: .line 127
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.context:Lcom/oracle/truffle/js/runtime/JSContext;
            invokevirtual com.oracle.truffle.js.runtime.JSContext.getArrayPrototypeNoElementsAssumption:()Lcom/oracle/truffle/api/Assumption;
            invokeinterface com.oracle.truffle.api.Assumption.isValid:()Z
            ifne 14
        12: .line 128
            aload 10 /* prototype */
            invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
            astore 10 /* prototype */
        end local 11 // long candidate
        13: .line 121
      StackMap locals:
      StackMap stack:
            aload 10 /* prototype */
            getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
            if_acmpne 7
        14: .line 135
      StackMap locals:
      StackMap stack:
            lload 8 /* lastIndex */
            lreturn
        end local 10 // com.oracle.truffle.api.object.DynamicObject prototype
        end local 8 // long lastIndex
        end local 7 // boolean isArray
        end local 6 // com.oracle.truffle.api.profiles.ConditionProfile isLengthMinusOne
        end local 5 // com.oracle.truffle.js.nodes.array.JSArrayPreviousElementIndexNode previousElementIndexNode
        end local 4 // com.oracle.truffle.js.runtime.array.ScriptArray array
        end local 2 // long length
        end local 1 // com.oracle.truffle.api.object.DynamicObject object
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0   15     0                      this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0   15     1                    object  Lcom/oracle/truffle/api/object/DynamicObject;
            0   15     2                    length  J
            0   15     4                     array  Lcom/oracle/truffle/js/runtime/array/ScriptArray;
            0   15     5  previousElementIndexNode  Lcom/oracle/truffle/js/nodes/array/JSArrayPreviousElementIndexNode;
            0   15     6          isLengthMinusOne  Lcom/oracle/truffle/api/profiles/ConditionProfile;
            0   15     7                   isArray  Z
            1   15     8                 lastIndex  J
            6   15    10                 prototype  Lcom/oracle/truffle/api/object/DynamicObject;
            8   13    11                 candidate  J
    MethodParameters:
                          Name  Flags
      object                    
      length                    
      array                     
      previousElementIndexNode  
      isLengthMinusOne          
      isArray                   

  public long doObjectViaEnumeration(com.oracle.truffle.api.object.DynamicObject, long, boolean, com.oracle.truffle.js.nodes.access.JSHasPropertyNode);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JZLcom/oracle/truffle/js/nodes/access/JSHasPropertyNode;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=8, args_size=5
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // com.oracle.truffle.api.object.DynamicObject object
        start local 2 // long length
        start local 4 // boolean isArray
        start local 5 // com.oracle.truffle.js.nodes.access.JSHasPropertyNode hasPropertyNode
         0: .line 141
            lload 2 /* length */
            lconst_1
            lsub
            lstore 6 /* lengthMinusOne */
        start local 6 // long lengthMinusOne
         1: .line 142
            aload 5 /* hasPropertyNode */
            aload 1 /* object */
            lload 6 /* lengthMinusOne */
            invokevirtual com.oracle.truffle.js.nodes.access.JSHasPropertyNode.executeBoolean:(Ljava/lang/Object;J)Z
            ifeq 3
         2: .line 143
            lload 6 /* lengthMinusOne */
            lreturn
         3: .line 146
      StackMap locals: long
      StackMap stack:
            aload 1 /* object */
            lload 6 /* lengthMinusOne */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.doObjectViaEnumerationIntl:(Lcom/oracle/truffle/api/object/DynamicObject;J)J
            lreturn
        end local 6 // long lengthMinusOne
        end local 5 // com.oracle.truffle.js.nodes.access.JSHasPropertyNode hasPropertyNode
        end local 4 // boolean isArray
        end local 2 // long length
        end local 1 // com.oracle.truffle.api.object.DynamicObject object
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    4     0             this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0    4     1           object  Lcom/oracle/truffle/api/object/DynamicObject;
            0    4     2           length  J
            0    4     4          isArray  Z
            0    4     5  hasPropertyNode  Lcom/oracle/truffle/js/nodes/access/JSHasPropertyNode;
            1    4     6   lengthMinusOne  J
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.dsl.Specialization(guards = {"!isArray", "isSuitableForEnumBasedProcessingUsingOwnKeys(object, length)"})
    RuntimeInvisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
        com.oracle.truffle.api.dsl.Cached(value = "create()")
    MethodParameters:
                 Name  Flags
      object           
      length           
      isArray          
      hasPropertyNode  

  public long doObjectViaFullEnumeration(com.oracle.truffle.api.object.DynamicObject, long, boolean, com.oracle.truffle.js.nodes.access.JSHasPropertyNode);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;JZLcom/oracle/truffle/js/nodes/access/JSHasPropertyNode;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=8, args_size=5
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // com.oracle.truffle.api.object.DynamicObject object
        start local 2 // long length
        start local 4 // boolean isArray
        start local 5 // com.oracle.truffle.js.nodes.access.JSHasPropertyNode hasPropertyNode
         0: .line 152
            lload 2 /* length */
            lconst_1
            lsub
            lstore 6 /* lengthMinusOne */
        start local 6 // long lengthMinusOne
         1: .line 153
            aload 5 /* hasPropertyNode */
            aload 1 /* object */
            lload 6 /* lengthMinusOne */
            invokevirtual com.oracle.truffle.js.nodes.access.JSHasPropertyNode.executeBoolean:(Ljava/lang/Object;J)Z
            ifeq 3
         2: .line 154
            lload 6 /* lengthMinusOne */
            lreturn
         3: .line 157
      StackMap locals: long
      StackMap stack:
            aload 1 /* object */
            lload 6 /* lengthMinusOne */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.doObjectViaFullEnumerationIntl:(Lcom/oracle/truffle/api/object/DynamicObject;J)J
            lreturn
        end local 6 // long lengthMinusOne
        end local 5 // com.oracle.truffle.js.nodes.access.JSHasPropertyNode hasPropertyNode
        end local 4 // boolean isArray
        end local 2 // long length
        end local 1 // com.oracle.truffle.api.object.DynamicObject object
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    4     0             this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0    4     1           object  Lcom/oracle/truffle/api/object/DynamicObject;
            0    4     2           length  J
            0    4     4          isArray  Z
            0    4     5  hasPropertyNode  Lcom/oracle/truffle/js/nodes/access/JSHasPropertyNode;
            1    4     6   lengthMinusOne  J
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.dsl.Specialization(guards = {"!isArray", "!isSuitableForEnumBasedProcessingUsingOwnKeys(object, length)", "isSuitableForEnumBasedProcessing(object, length)"})
    RuntimeInvisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
        com.oracle.truffle.api.dsl.Cached(value = "create()")
    MethodParameters:
                 Name  Flags
      object           
      length           
      isArray          
      hasPropertyNode  

  public long doObject(java.lang.Object, long, boolean, com.oracle.truffle.js.nodes.access.JSHasPropertyNode);
    descriptor: (Ljava/lang/Object;JZLcom/oracle/truffle/js/nodes/access/JSHasPropertyNode;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=8, args_size=5
        start local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
        start local 1 // java.lang.Object object
        start local 2 // long length
        start local 4 // boolean isArray
        start local 5 // com.oracle.truffle.js.nodes.access.JSHasPropertyNode hasPropertyNode
         0: .line 163
            lload 2 /* length */
            lconst_1
            lsub
            lstore 6 /* index */
        start local 6 // long index
         1: .line 164
            goto 3
         2: .line 165
      StackMap locals: long
      StackMap stack:
            lload 6 /* index */
            lconst_1
            lsub
            lstore 6 /* index */
         3: .line 164
      StackMap locals:
      StackMap stack:
            aload 5 /* hasPropertyNode */
            aload 1 /* object */
            lload 6 /* index */
            invokevirtual com.oracle.truffle.js.nodes.access.JSHasPropertyNode.executeBoolean:(Ljava/lang/Object;J)Z
            ifne 4
            lload 6 /* index */
            lconst_0
            lcmp
            ifgt 2
         4: .line 167
      StackMap locals:
      StackMap stack:
            lload 6 /* index */
            lreturn
        end local 6 // long index
        end local 5 // com.oracle.truffle.js.nodes.access.JSHasPropertyNode hasPropertyNode
        end local 4 // boolean isArray
        end local 2 // long length
        end local 1 // java.lang.Object object
        end local 0 // com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    5     0             this  Lcom/oracle/truffle/js/nodes/array/JSArrayLastElementIndexNode;
            0    5     1           object  Ljava/lang/Object;
            0    5     2           length  J
            0    5     4          isArray  Z
            0    5     5  hasPropertyNode  Lcom/oracle/truffle/js/nodes/access/JSHasPropertyNode;
            1    5     6            index  J
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.dsl.Specialization(guards = {"!isArray", "!isSuitableForEnumBasedProcessing(object, length)"})
    RuntimeInvisibleParameterAnnotations: 
      0:
      1:
      2:
      3:
        com.oracle.truffle.api.dsl.Cached(value = "create()")
    MethodParameters:
                 Name  Flags
      object           
      length           
      isArray          
      hasPropertyNode  

  private static long doObjectViaEnumerationIntl(com.oracle.truffle.api.object.DynamicObject, long);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;J)J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=9, args_size=2
        start local 0 // com.oracle.truffle.api.object.DynamicObject object
        start local 1 // long lengthMinusOne
         0: .line 172
            ldc -1
            lstore 3 /* result */
        start local 3 // long result
         1: .line 173
            aload 0 /* object */
            invokestatic com.oracle.truffle.js.runtime.objects.JSObject.ownPropertyKeys:(Lcom/oracle/truffle/api/object/DynamicObject;)Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 9
      StackMap locals: com.oracle.truffle.api.object.DynamicObject long long top java.util.Iterator
      StackMap stack:
         2: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            astore 5 /* key */
        start local 5 // java.lang.Object key
         3: .line 174
            aload 5 /* key */
            ifnonnull 5
         4: .line 175
            goto 9
         5: .line 177
      StackMap locals: com.oracle.truffle.api.object.DynamicObject long long java.lang.Object java.util.Iterator
      StackMap stack:
            aload 5 /* key */
            instanceof java.lang.String
            ifeq 9
         6: .line 178
            aload 5 /* key */
            checkcast java.lang.String
            invokestatic com.oracle.truffle.js.runtime.JSRuntime.propertyNameToIntegerIndex:(Ljava/lang/String;)J
            lstore 7 /* candidate */
        start local 7 // long candidate
         7: .line 180
            lload 7 /* candidate */
            lload 1 /* lengthMinusOne */
            lcmp
            ifge 9
            lload 7 /* candidate */
            lload 3 /* result */
            lcmp
            ifle 9
         8: .line 181
            lload 7 /* candidate */
            lstore 3 /* result */
        end local 7 // long candidate
        end local 5 // java.lang.Object key
         9: .line 173
      StackMap locals: com.oracle.truffle.api.object.DynamicObject long long top java.util.Iterator
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
        10: .line 185
            lload 3 /* result */
            lreturn
        end local 3 // long result
        end local 1 // long lengthMinusOne
        end local 0 // com.oracle.truffle.api.object.DynamicObject object
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   11     0          object  Lcom/oracle/truffle/api/object/DynamicObject;
            0   11     1  lengthMinusOne  J
            1   11     3          result  J
            3    9     5             key  Ljava/lang/Object;
            7    9     7       candidate  J
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
                Name  Flags
      object          
      lengthMinusOne  

  private static long doObjectViaFullEnumerationIntl(com.oracle.truffle.api.object.DynamicObject, long);
    descriptor: (Lcom/oracle/truffle/api/object/DynamicObject;J)J
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // com.oracle.truffle.api.object.DynamicObject object
        start local 1 // long length
         0: .line 190
            ldc -1
            lstore 3 /* result */
        start local 3 // long result
         1: .line 191
            aload 0 /* object */
            astore 5 /* chainObject */
        start local 5 // com.oracle.truffle.api.object.DynamicObject chainObject
         2: .line 193
      StackMap locals: long com.oracle.truffle.api.object.DynamicObject
      StackMap stack:
            lload 3 /* result */
            aload 5 /* chainObject */
            lload 1 /* length */
            invokestatic com.oracle.truffle.js.nodes.array.JSArrayLastElementIndexNode.doObjectViaEnumerationIntl:(Lcom/oracle/truffle/api/object/DynamicObject;J)J
            invokestatic java.lang.Math.max:(JJ)J
            lstore 3 /* result */
         3: .line 194
            aload 5 /* chainObject */
            invokestatic com.oracle.truffle.js.runtime.objects.JSObject.getPrototype:(Lcom/oracle/truffle/api/object/DynamicObject;)Lcom/oracle/truffle/api/object/DynamicObject;
            astore 5 /* chainObject */
         4: .line 195
            aload 5 /* chainObject */
            getstatic com.oracle.truffle.js.runtime.objects.Null.instance:Lcom/oracle/truffle/js/runtime/objects/JSDynamicObject;
            if_acmpne 2
         5: .line 196
            lload 3 /* result */
            lreturn
        end local 5 // com.oracle.truffle.api.object.DynamicObject chainObject
        end local 3 // long result
        end local 1 // long length
        end local 0 // com.oracle.truffle.api.object.DynamicObject object
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    6     0       object  Lcom/oracle/truffle/api/object/DynamicObject;
            0    6     1       length  J
            1    6     3       result  J
            2    6     5  chainObject  Lcom/oracle/truffle/api/object/DynamicObject;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
        Name  Flags
      object  
      length  
}
SourceFile: "JSArrayLastElementIndexNode.java"
InnerClasses:
  public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives