public final class com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest extends com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest
super_class: com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase
{
public com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType dstTestType;
descriptor: Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameter(value = 0)
public com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType srcTestType;
descriptor: Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
flags: (0x0001) ACC_PUBLIC
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameter(value = 1)
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest this
0: .line 48
aload 0 /* this */
invokespecial com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase.<init>:()V
return
end local 0 // com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/ManagedMemmoveTest;
public static java.util.Collection<java.lang.Object[]> data();
descriptor: ()Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=0
0: .line 52
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0 /* tests */
start local 0 // java.util.ArrayList tests
1: .line 53
iconst_0
istore 1 /* i */
start local 1 // int i
2: goto 9
3: .line 54
StackMap locals: java.util.ArrayList int
StackMap stack:
iconst_0
istore 2 /* j */
start local 2 // int j
4: goto 7
5: .line 55
StackMap locals: int
StackMap stack:
aload 0 /* tests */
iconst_2
anewarray java.lang.Object
dup
iconst_0
invokestatic com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType.values:()[Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
iload 1 /* i */
aaload
aastore
dup
iconst_1
invokestatic com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType.values:()[Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
iload 2 /* j */
aaload
aastore
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
6: .line 54
iinc 2 /* j */ 1
StackMap locals:
StackMap stack:
7: iload 2 /* j */
invokestatic com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType.values:()[Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
arraylength
if_icmplt 5
end local 2 // int j
8: .line 53
iinc 1 /* i */ 1
StackMap locals:
StackMap stack:
9: iload 1 /* i */
invokestatic com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType.values:()[Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
arraylength
if_icmplt 3
end local 1 // int i
10: .line 58
aload 0 /* tests */
areturn
end local 0 // java.util.ArrayList tests
LocalVariableTable:
Start End Slot Name Signature
1 11 0 tests Ljava/util/ArrayList<[Ljava/lang/Object;>;
2 10 1 i I
4 8 2 j I
Signature: ()Ljava/util/Collection<[Ljava/lang/Object;>;
RuntimeVisibleAnnotations:
org.junit.runners.Parameterized$Parameters(name = "{1}->{0}")
public void memmove(com.oracle.truffle.api.CallTarget);
descriptor: (Lcom/oracle/truffle/api/CallTarget;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 // com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest this
start local 1 // com.oracle.truffle.api.CallTarget doMemmove
0: .line 73
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.srcTestType:Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
invokestatic com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.getTypeID:(Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;)Ljava/lang/Object;
astore 2 /* srcType */
start local 2 // java.lang.Object srcType
1: .line 74
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.dstTestType:Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
invokestatic com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.getTypeID:(Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;)Ljava/lang/Object;
astore 3 /* dstType */
start local 3 // java.lang.Object dstType
2: .line 77
bipush 8
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.srcTestType:Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType.elementSize:I
imul
istore 4 /* size */
start local 4 // int size
3: .line 81
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.srcTestType:Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType.isFloating:Z
ifeq 13
4: .line 83
bipush 8
newarray 7
astore 7 /* src */
start local 7 // double[] src
5: .line 84
iconst_0
istore 8 /* i */
start local 8 // int i
6: goto 9
7: .line 85
StackMap locals: com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest com.oracle.truffle.api.CallTarget java.lang.Object java.lang.Object int top top double[] int
StackMap stack:
aload 7 /* src */
iload 8 /* i */
iload 8 /* i */
i2d
dastore
8: .line 84
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
9: iload 8 /* i */
bipush 8
if_icmplt 7
end local 8 // int i
10: .line 87
aload 7 /* src */
astore 5 /* srcArray */
start local 5 // java.lang.Object srcArray
11: .line 88
new com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject
dup
aload 2 /* srcType */
aload 7 /* src */
invokespecial com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject.<init>:(Ljava/lang/Object;[D)V
astore 6 /* srcObject */
end local 7 // double[] src
start local 6 // java.lang.Object srcObject
12: .line 89
goto 21
end local 6 // java.lang.Object srcObject
end local 5 // java.lang.Object srcArray
13: .line 91
StackMap locals: com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest com.oracle.truffle.api.CallTarget java.lang.Object java.lang.Object int
StackMap stack:
bipush 8
newarray 11
astore 7 /* src */
start local 7 // long[] src
14: .line 92
iconst_0
istore 8 /* i */
start local 8 // int i
15: goto 18
16: .line 93
StackMap locals: com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest com.oracle.truffle.api.CallTarget java.lang.Object java.lang.Object int top top long[] int
StackMap stack:
aload 7 /* src */
iload 8 /* i */
iload 8 /* i */
i2l
lastore
17: .line 92
iinc 8 /* i */ 1
StackMap locals:
StackMap stack:
18: iload 8 /* i */
bipush 8
if_icmplt 16
end local 8 // int i
19: .line 95
aload 7 /* src */
astore 5 /* srcArray */
start local 5 // java.lang.Object srcArray
20: .line 96
new com.oracle.truffle.llvm.tests.interop.values.LongArrayObject
dup
aload 2 /* srcType */
aload 7 /* src */
invokespecial com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.<init>:(Ljava/lang/Object;[J)V
astore 6 /* srcObject */
end local 7 // long[] src
start local 6 // java.lang.Object srcObject
21: .line 99
StackMap locals: com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest com.oracle.truffle.api.CallTarget java.lang.Object java.lang.Object int java.lang.Object java.lang.Object
StackMap stack:
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.srcTestType:Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
aload 5 /* srcArray */
invokestatic com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.serialize:(Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;Ljava/lang/Object;)[B
astore 7 /* srcBytes */
start local 7 // byte[] srcBytes
22: .line 103
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.dstTestType:Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType.isFloating:Z
ifeq 27
23: .line 105
iload 4 /* size */
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.dstTestType:Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType.elementSize:I
idiv
newarray 7
astore 10 /* dst */
start local 10 // double[] dst
24: .line 106
aload 10 /* dst */
astore 8 /* dstArray */
start local 8 // java.lang.Object dstArray
25: .line 107
new com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject
dup
aload 3 /* dstType */
aload 10 /* dst */
invokespecial com.oracle.truffle.llvm.tests.interop.values.DoubleArrayObject.<init>:(Ljava/lang/Object;[D)V
astore 9 /* dstObject */
end local 10 // double[] dst
start local 9 // java.lang.Object dstObject
26: .line 108
goto 30
end local 9 // java.lang.Object dstObject
end local 8 // java.lang.Object dstArray
27: .line 110
StackMap locals: byte[]
StackMap stack:
iload 4 /* size */
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.dstTestType:Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType.elementSize:I
idiv
newarray 11
astore 10 /* dst */
start local 10 // long[] dst
28: .line 111
aload 10 /* dst */
astore 8 /* dstArray */
start local 8 // java.lang.Object dstArray
29: .line 112
new com.oracle.truffle.llvm.tests.interop.values.LongArrayObject
dup
aload 3 /* dstType */
aload 10 /* dst */
invokespecial com.oracle.truffle.llvm.tests.interop.values.LongArrayObject.<init>:(Ljava/lang/Object;[J)V
astore 9 /* dstObject */
end local 10 // long[] dst
start local 9 // java.lang.Object dstObject
30: .line 115
StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
aload 1 /* doMemmove */
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 9 /* dstObject */
aastore
dup
iconst_1
aload 6 /* srcObject */
aastore
dup
iconst_2
iload 4 /* size */
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokeinterface com.oracle.truffle.api.CallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
pop
31: .line 117
aload 0 /* this */
getfield com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.dstTestType:Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;
aload 8 /* dstArray */
invokestatic com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest.serialize:(Lcom/oracle/truffle/llvm/tests/interop/ManagedMemAccessTestBase$TestType;Ljava/lang/Object;)[B
astore 10 /* dstBytes */
start local 10 // byte[] dstBytes
32: .line 118
aload 7 /* srcBytes */
aload 10 /* dstBytes */
invokestatic org.junit.Assert.assertArrayEquals:([B[B)V
33: .line 119
return
end local 10 // byte[] dstBytes
end local 9 // java.lang.Object dstObject
end local 8 // java.lang.Object dstArray
end local 7 // byte[] srcBytes
end local 6 // java.lang.Object srcObject
end local 5 // java.lang.Object srcArray
end local 4 // int size
end local 3 // java.lang.Object dstType
end local 2 // java.lang.Object srcType
end local 1 // com.oracle.truffle.api.CallTarget doMemmove
end local 0 // com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest this
LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/oracle/truffle/llvm/tests/interop/ManagedMemmoveTest;
0 34 1 doMemmove Lcom/oracle/truffle/api/CallTarget;
1 34 2 srcType Ljava/lang/Object;
2 34 3 dstType Ljava/lang/Object;
3 34 4 size I
11 13 5 srcArray Ljava/lang/Object;
20 34 5 srcArray Ljava/lang/Object;
12 13 6 srcObject Ljava/lang/Object;
21 34 6 srcObject Ljava/lang/Object;
5 12 7 src [D
6 10 8 i I
14 21 7 src [J
15 19 8 i I
22 34 7 srcBytes [B
25 27 8 dstArray Ljava/lang/Object;
29 34 8 dstArray Ljava/lang/Object;
26 27 9 dstObject Ljava/lang/Object;
30 34 9 dstObject Ljava/lang/Object;
24 26 10 dst [D
28 30 10 dst [J
32 34 10 dstBytes [B
RuntimeVisibleAnnotations:
org.junit.Test()
RuntimeVisibleParameterAnnotations:
0:
com.oracle.truffle.tck.TruffleRunner$Inject(value = Lcom/oracle/truffle/llvm/tests/interop/ManagedMemmoveTest$DoMemmoveNode;)
MethodParameters:
Name Flags
doMemmove
}
SourceFile: "ManagedMemmoveTest.java"
NestMembers:
com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest$DoMemmoveNode
InnerClasses:
protected abstract TestType = com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase$TestType of com.oracle.truffle.llvm.tests.interop.ManagedMemAccessTestBase
public DoMemmoveNode = com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest$DoMemmoveNode of com.oracle.truffle.llvm.tests.interop.ManagedMemmoveTest
public abstract Inject = com.oracle.truffle.tck.TruffleRunner$Inject of com.oracle.truffle.tck.TruffleRunner
public abstract Parameter = org.junit.runners.Parameterized$Parameter of org.junit.runners.Parameterized
public abstract Parameters = org.junit.runners.Parameterized$Parameters of org.junit.runners.Parameterized
public abstract UseParametersRunnerFactory = org.junit.runners.Parameterized$UseParametersRunnerFactory of org.junit.runners.Parameterized
RuntimeVisibleAnnotations:
org.junit.runner.RunWith(value = Lorg/junit/runners/Parameterized;)
org.junit.runners.Parameterized$UseParametersRunnerFactory(value = Lcom/oracle/truffle/tck/TruffleRunner$ParametersFactory;)