class com.oracle.truffle.polyglot.HostObject$RemoveArrayElement
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.polyglot.HostObject$RemoveArrayElement
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/polyglot/HostObject$RemoveArrayElement;
static void doList(com.oracle.truffle.polyglot.HostObject, long, com.oracle.truffle.polyglot.HostObject$IsListNode, com.oracle.truffle.api.profiles.BranchProfile);
descriptor: (Lcom/oracle/truffle/polyglot/HostObject;JLcom/oracle/truffle/polyglot/HostObject$IsListNode;Lcom/oracle/truffle/api/profiles/BranchProfile;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: lload 1
lconst_0
lcmp
iflt 1
ldc 2147483647
lload 1
lcmp
ifge 3
1: StackMap locals:
StackMap stack:
aload 4
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
2: lload 1
invokestatic com.oracle.truffle.api.interop.InvalidArrayIndexException.create:(J)Lcom/oracle/truffle/api/interop/InvalidArrayIndexException;
athrow
3: StackMap locals:
StackMap stack:
aload 0
lload 1
invokestatic com.oracle.truffle.polyglot.HostObject$RemoveArrayElement.boundaryRemove:(Lcom/oracle/truffle/polyglot/HostObject;J)Ljava/lang/Object;
pop
4: goto 8
StackMap locals:
StackMap stack: java.lang.IndexOutOfBoundsException
5: pop
6: aload 4
invokevirtual com.oracle.truffle.api.profiles.BranchProfile.enter:()V
7: lload 1
invokestatic com.oracle.truffle.api.interop.InvalidArrayIndexException.create:(J)Lcom/oracle/truffle/api/interop/InvalidArrayIndexException;
athrow
8: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 receiver Lcom/oracle/truffle/polyglot/HostObject;
0 9 1 index J
0 9 3 isList Lcom/oracle/truffle/polyglot/HostObject$IsListNode;
0 9 4 error Lcom/oracle/truffle/api/profiles/BranchProfile;
Exception table:
from to target type
3 4 5 Class java.lang.IndexOutOfBoundsException
Exceptions:
throws com.oracle.truffle.api.interop.InvalidArrayIndexException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"isList.execute(receiver)"}, limit = "1")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached$Shared(value = "isList")
com.oracle.truffle.api.dsl.Cached()
3:
com.oracle.truffle.api.dsl.Cached$Shared(value = "error")
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
receiver
index
isList
error
private static java.lang.Object boundaryRemove(com.oracle.truffle.polyglot.HostObject, long);
descriptor: (Lcom/oracle/truffle/polyglot/HostObject;J)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.polyglot.HostObject.obj:Ljava/lang/Object;
checkcast java.util.List
lload 1
l2i
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 receiver Lcom/oracle/truffle/polyglot/HostObject;
0 1 1 index J
Exceptions:
throws java.lang.IndexOutOfBoundsException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
receiver
index
static void doOther(com.oracle.truffle.polyglot.HostObject, long, com.oracle.truffle.polyglot.HostObject$IsListNode);
descriptor: (Lcom/oracle/truffle/polyglot/HostObject;JLcom/oracle/truffle/polyglot/HostObject$IsListNode;)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=4, args_size=3
start local 0 start local 1 start local 3 0: invokestatic com.oracle.truffle.api.interop.UnsupportedMessageException.create:()Lcom/oracle/truffle/api/interop/UnsupportedMessageException;
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 receiver Lcom/oracle/truffle/polyglot/HostObject;
0 1 1 index J
0 1 3 isList Lcom/oracle/truffle/polyglot/HostObject$IsListNode;
Exceptions:
throws com.oracle.truffle.api.interop.UnsupportedMessageException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.dsl.Specialization(guards = {"!isList.execute(receiver)"}, limit = "1")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.dsl.Cached$Shared(value = "isList")
com.oracle.truffle.api.dsl.Cached()
MethodParameters:
Name Flags
receiver
index
isList
}
SourceFile: "HostObject.java"
NestHost: com.oracle.truffle.polyglot.HostObject
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract Shared = com.oracle.truffle.api.dsl.Cached$Shared of com.oracle.truffle.api.dsl.Cached
abstract IsListNode = com.oracle.truffle.polyglot.HostObject$IsListNode of com.oracle.truffle.polyglot.HostObject
RemoveArrayElement = com.oracle.truffle.polyglot.HostObject$RemoveArrayElement of com.oracle.truffle.polyglot.HostObject
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()