public final class com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject implements com.oracle.truffle.api.interop.TruffleObject
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject
super_class: java.lang.Object
{
final double[] array;
descriptor: [D
flags: (0x0010) ACC_FINAL
final java.lang.Object type;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
public void <init>(java.lang.Object, double[]);
descriptor: (Ljava/lang/Object;[D)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject.array:[D
2: aload 0
aload 1
putfield com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject.type:Ljava/lang/Object;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/tests/interop/values/DoubleArrayObject;
0 4 1 type Ljava/lang/Object;
0 4 2 array [D
MethodParameters:
Name Flags
type
array
boolean hasNativeType();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/values/DoubleArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
java.lang.Object getNativeType();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject.type:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/values/DoubleArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
boolean hasArrayElements();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/values/DoubleArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
long getArraySize();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject.array:[D
arraylength
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/values/DoubleArrayObject;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
boolean hasArrayElement(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: lload 1
aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject.array:[D
arraylength
i2l
invokestatic java.lang.Long.compareUnsigned:(JJ)I
ifge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/llvm/tests/interop/values/DoubleArrayObject;
0 2 1 idx J
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage$Repeat(value = {com.oracle.truffle.api.library.ExportMessage(name = "isArrayElementReadable"), com.oracle.truffle.api.library.ExportMessage(name = "isArrayElementModifiable")})
MethodParameters:
Name Flags
idx
boolean isArrayElementInsertable(long);
descriptor: (J)Z
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/values/DoubleArrayObject;
0 1 1 idx J
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
idx
double readArrayElement(long);
descriptor: (J)D
flags: (0x0000)
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject.array:[D
lload 1
l2i
daload
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/values/DoubleArrayObject;
0 1 1 idx J
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage()
MethodParameters:
Name Flags
idx
void writeArrayElement(long, java.lang.Object, com.oracle.truffle.api.interop.InteropLibrary);
descriptor: (JLjava/lang/Object;Lcom/oracle/truffle/api/interop/InteropLibrary;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 3 start local 4 0: aload 0
getfield com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject.array:[D
lload 1
l2i
aload 4
aload 3
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.asDouble:(Ljava/lang/Object;)D
dastore
1: goto 5
StackMap locals:
StackMap stack: com.oracle.truffle.api.interop.UnsupportedMessageException
2: pop
3: invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreter:()V
4: iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokestatic com.oracle.truffle.api.interop.UnsupportedTypeException.create:([Ljava/lang/Object;)Lcom/oracle/truffle/api/interop/UnsupportedTypeException;
athrow
5: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/truffle/llvm/tests/interop/values/DoubleArrayObject;
0 6 1 idx J
0 6 3 value Ljava/lang/Object;
0 6 4 interop Lcom/oracle/truffle/api/interop/InteropLibrary;
Exception table:
from to target type
0 1 2 Class com.oracle.truffle.api.interop.UnsupportedMessageException
Exceptions:
throws com.oracle.truffle.api.interop.UnsupportedTypeException
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportMessage(limit = "3")
RuntimeInvisibleParameterAnnotations:
0:
1:
2:
com.oracle.truffle.api.library.CachedLibrary(value = "value")
MethodParameters:
Name Flags
idx
value
interop
}
SourceFile: "DoubleArrayObject.java"
InnerClasses:
public abstract Repeat = com.oracle.truffle.api.library.ExportLibrary$Repeat of com.oracle.truffle.api.library.ExportLibrary
public abstract Repeat = com.oracle.truffle.api.library.ExportMessage$Repeat of com.oracle.truffle.api.library.ExportMessage
RuntimeVisibleAnnotations:
com.oracle.truffle.api.library.ExportLibrary$Repeat(value = {com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/llvm/spi/NativeTypeLibrary;), com.oracle.truffle.api.library.ExportLibrary(value = Lcom/oracle/truffle/api/interop/InteropLibrary;)})