public class com.oracle.truffle.llvm.tests.interop.PointerCompareTest extends com.oracle.truffle.llvm.tests.interop.InteropTestBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.interop.PointerCompareTest
super_class: com.oracle.truffle.llvm.tests.interop.InteropTestBase
{
static org.graalvm.polyglot.Value testPointerAdd;
descriptor: Lorg/graalvm/polyglot/Value;
flags: (0x0008) ACC_STATIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.InteropTestBase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/PointerCompareTest;
public static void loadLibrary();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: ldc "pointerArithmetic.c"
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.loadTestBitcodeValue:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 0
start local 0 1: aload 0
ldc "test_pointer_add"
invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
putstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 testLibrary Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.BeforeClass()
private static java.lang.Object ptr(long);
descriptor: (J)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new com.oracle.truffle.llvm.tests.interop.values.NativeValue
dup
lload 0
invokespecial com.oracle.truffle.llvm.tests.interop.values.NativeValue.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 v J
MethodParameters:
Name Flags
v
public void testSameObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject
dup
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject.<init>:()V
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 3
start local 3 3: ldc "equals"
aload 2
aload 3
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/llvm/tests/interop/PointerCompareTest;
1 5 1 obj Lcom/oracle/truffle/llvm/tests/interop/PointerCompareTest$NotComparableObject;
2 5 2 ptr1 Lorg/graalvm/polyglot/Value;
3 5 3 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testSameObjectDifferentOffset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject
dup
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject.<init>:()V
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
ldc 38
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 3
start local 3 3: ldc "!equals"
aload 2
aload 3
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertFalse:(Ljava/lang/String;Z)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/llvm/tests/interop/PointerCompareTest;
1 5 1 obj Lcom/oracle/truffle/llvm/tests/interop/PointerCompareTest$NotComparableObject;
2 5 2 ptr1 Lorg/graalvm/polyglot/Value;
3 5 3 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testDifferentObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject
dup
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject.<init>:()V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject
dup
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject.<init>:()V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: ldc "!equals"
aload 1
aload 2
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertFalse:(Ljava/lang/String;Z)V
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/PointerCompareTest;
1 4 1 ptr1 Lorg/graalvm/polyglot/Value;
2 4 2 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testIdenticalObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
iconst_1
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
iconst_1
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: ldc "equals"
aload 1
aload 2
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
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/PointerCompareTest;
1 4 1 ptr1 Lorg/graalvm/polyglot/Value;
2 4 2 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testSameAndIdenticalObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
iconst_2
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 3
start local 3 3: ldc "equals"
aload 2
aload 3
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/llvm/tests/interop/PointerCompareTest;
1 5 1 obj Lcom/oracle/truffle/llvm/tests/interop/PointerCompareTest$ComparableObject;
2 5 2 ptr1 Lorg/graalvm/polyglot/Value;
3 5 3 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testNotIdenticalObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
iconst_3
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
iconst_4
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: ldc "!equals"
aload 1
aload 2
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertFalse:(Ljava/lang/String;Z)V
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/PointerCompareTest;
1 4 1 ptr1 Lorg/graalvm/polyglot/Value;
2 4 2 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testDifferentTypes1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject
dup
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject.<init>:()V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
iconst_5
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: ldc "!equals"
aload 1
aload 2
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertFalse:(Ljava/lang/String;Z)V
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/PointerCompareTest;
1 4 1 ptr1 Lorg/graalvm/polyglot/Value;
2 4 2 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testDifferentTypes2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
bipush 6
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject
dup
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject.<init>:()V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: ldc "!equals"
aload 1
aload 2
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertFalse:(Ljava/lang/String;Z)V
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/PointerCompareTest;
1 4 1 ptr1 Lorg/graalvm/polyglot/Value;
2 4 2 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testWrappedObject1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject
dup
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
bipush 7
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject.<init>:(Ljava/lang/Object;)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
bipush 7
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: ldc "equals"
aload 1
aload 2
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
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/PointerCompareTest;
1 4 1 ptr1 Lorg/graalvm/polyglot/Value;
2 4 2 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testWrappedObject2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
bipush 8
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject
dup
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
bipush 8
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject.<init>:(Ljava/lang/Object;)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: ldc "equals"
aload 1
aload 2
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
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/PointerCompareTest;
1 4 1 ptr1 Lorg/graalvm/polyglot/Value;
2 4 2 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
public void testWrappedObject3();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=3, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject
dup
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
bipush 9
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject.<init>:(Ljava/lang/Object;)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.testPointerAdd:Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject
dup
new com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject
dup
bipush 9
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject.<init>:(I)V
invokespecial com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject.<init>:(Ljava/lang/Object;)V
aastore
dup
iconst_1
ldc 42
invokestatic com.oracle.truffle.llvm.tests.interop.PointerCompareTest.ptr:(J)Ljava/lang/Object;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 2
start local 2 2: ldc "equals"
aload 1
aload 2
invokevirtual org.graalvm.polyglot.Value.equals:(Ljava/lang/Object;)Z
invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
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/PointerCompareTest;
1 4 1 ptr1 Lorg/graalvm/polyglot/Value;
2 4 2 ptr2 Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "PointerCompareTest.java"
NestMembers:
com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject$IsIdenticalOrUndefined com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject
InnerClasses:
ComparableObject = com.oracle.truffle.llvm.tests.interop.PointerCompareTest$ComparableObject of com.oracle.truffle.llvm.tests.interop.PointerCompareTest
NotComparableObject = com.oracle.truffle.llvm.tests.interop.PointerCompareTest$NotComparableObject of com.oracle.truffle.llvm.tests.interop.PointerCompareTest
WrappedObject = com.oracle.truffle.llvm.tests.interop.PointerCompareTest$WrappedObject of com.oracle.truffle.llvm.tests.interop.PointerCompareTest
RuntimeVisibleAnnotations:
org.junit.runner.RunWith(value = Lcom/oracle/truffle/tck/TruffleRunner;)