public class com.oracle.truffle.llvm.tests.interop.LLVMInteropTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest
super_class: java.lang.Object
{
private static final java.nio.file.Path TEST_DIR;
descriptor: Ljava/nio/file/Path;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final java.lang.String FILENAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new java.io.File
dup
getstatic com.oracle.truffle.llvm.tests.options.TestOptions.TEST_SUITE_PATH:Ljava/lang/String;
ldc "interop"
invokespecial java.io.File.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
putstatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.TEST_DIR:Ljava/nio/file/Path;
1: new java.lang.StringBuilder
dup
ldc "O1."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic com.oracle.truffle.llvm.runtime.NativeContextExtension.getNativeLibrarySuffix:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putstatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.FILENAME:Ljava/lang/String;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/llvm/tests/interop/LLVMInteropTest;
public void test001();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop001.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: ldc 42
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test002();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop002.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc 42
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test003();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop003.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc 215
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test004();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop004.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectB:()Ljava/util/Map;
astore 4
start local 4 3: aload 3
aload 4
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: ldc 73
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test005();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop005.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
astore 4
start local 4 3: aload 3
aload 4
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
5: ldc 2
aload 4
ldc "valueI"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: ldc 3
aload 4
ldc "valueB"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asByte:()B
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: ldc 4
aload 4
ldc "valueL"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asLong:()J
invokestatic org.junit.Assert.assertEquals:(JJ)V
8: ldc 5.5
aload 4
ldc "valueF"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asFloat:()F
f2d
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
9: ldc 6.5
aload 4
ldc "valueD"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asDouble:()D
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
end local 4 10: aload 3
ifnull 16
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 16
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
11: astore 1
aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
12: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 2
aload 1
ifnonnull 14
aload 2
astore 1
goto 15
StackMap locals:
StackMap stack:
14: aload 1
aload 2
if_acmpeq 15
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 1
athrow
16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 12 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 10 4 a Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exception table:
from to target type
2 10 11 any
1 13 13 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test006();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop006.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectB:()Ljava/util/Map;
astore 4
start local 4 3: aload 3
aload 4
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
5: lconst_1
aload 4
ldc "valueI"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast int[]
iconst_0
iaload
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: ldc 2
aload 4
ldc "valueI"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast int[]
iconst_1
iaload
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: ldc 3
aload 4
ldc "valueL"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast long[]
iconst_0
laload
invokestatic org.junit.Assert.assertEquals:(JJ)V
8: ldc 4
aload 4
ldc "valueL"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast long[]
iconst_1
laload
invokestatic org.junit.Assert.assertEquals:(JJ)V
9: ldc 5
aload 4
ldc "valueB"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast byte[]
iconst_0
baload
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
10: ldc 6
aload 4
ldc "valueB"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast byte[]
iconst_1
baload
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
11: ldc 7.5
aload 4
ldc "valueF"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast float[]
iconst_0
faload
f2d
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
12: ldc 8.5
aload 4
ldc "valueF"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast float[]
iconst_1
faload
f2d
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
13: ldc 9.5
aload 4
ldc "valueD"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast double[]
iconst_0
daload
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
14: ldc 10.5
aload 4
ldc "valueD"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast double[]
iconst_1
daload
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
end local 4 15: aload 3
ifnull 21
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 21
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
16: astore 1
aload 3
ifnull 17
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
17: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 2
aload 1
ifnonnull 19
aload 2
astore 1
goto 20
StackMap locals:
StackMap stack:
19: aload 1
aload 2
if_acmpeq 20
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 1
athrow
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 17 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 15 4 a Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exception table:
from to target type
2 15 16 any
1 18 18 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testInvoke();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: ldc "JavaInterop not supported"
getstatic com.oracle.truffle.api.TruffleOptions.AOT:Z
invokestatic org.junit.Assume.assumeFalse:(Ljava/lang/String;Z)V
1: aconst_null
astore 1
aconst_null
astore 2
2: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "invoke.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 3: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC
dup
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.<init>:()V
astore 4
start local 4 4: aload 3
aload 4
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: ldc 36
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueI:I
i2l
ldc 4
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueB:B
i2l
ldc 3
invokestatic org.junit.Assert.assertEquals:(JJ)V
8: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueL:J
ldc 7
invokestatic org.junit.Assert.assertEquals:(JJ)V
9: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueF:F
f2d
ldc 10.0
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
10: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueD:D
ldc 12.0
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
end local 4 11: aload 3
ifnull 17
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 17
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
12: astore 1
aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
13: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 2
aload 1
ifnonnull 15
aload 2
astore 1
goto 16
StackMap locals:
StackMap stack:
15: aload 1
aload 2
if_acmpeq 16
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 1
athrow
17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
3 13 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 11 4 a Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$ClassC;
Exception table:
from to target type
3 11 12 any
2 14 14 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testReadExecute();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: ldc "JavaInterop not supported"
getstatic com.oracle.truffle.api.TruffleOptions.AOT:Z
invokestatic org.junit.Assume.assumeFalse:(Ljava/lang/String;Z)V
1: aconst_null
astore 1
aconst_null
astore 2
2: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "readExecute.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 3: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC
dup
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.<init>:()V
astore 4
start local 4 4: aload 3
aload 4
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: ldc 36
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueI:I
i2l
ldc 4
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueB:B
i2l
ldc 3
invokestatic org.junit.Assert.assertEquals:(JJ)V
8: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueL:J
ldc 7
invokestatic org.junit.Assert.assertEquals:(JJ)V
9: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueF:F
f2d
ldc 10.0
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
10: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC.valueD:D
ldc 12.0
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
end local 4 11: aload 3
ifnull 17
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 17
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
12: astore 1
aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
13: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 2
aload 1
ifnonnull 15
aload 2
astore 1
goto 16
StackMap locals:
StackMap stack:
15: aload 1
aload 2
if_acmpeq 16
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 1
athrow
17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
3 13 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 11 4 a Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$ClassC;
Exception table:
from to target type
3 11 12 any
2 14 14 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test008();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop008.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$1
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$1.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
3: ldc "foreign"
4: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: ldc 42
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test009();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop009.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$2
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$2.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
3: ldc "foreign"
4: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: ldc 42
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test010();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop010.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$3
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$3.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
3: ldc "foreign"
4: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: ldc 42
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test011();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop011.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$4
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$4.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
3: ldc "foreign"
4: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: ldc 42.0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2d
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test012();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop012.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$5
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$5.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
3: ldc "foreign"
4: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: ldc 42.0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2d
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test013();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop013.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.values.BoxedIntValue
dup
bipush 42
invokespecial com.oracle.truffle.llvm.tests.interop.values.BoxedIntValue.<init>:(I)V
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc 42
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test014();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop014.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.values.BoxedIntValue
dup
bipush 42
invokespecial com.oracle.truffle.llvm.tests.interop.values.BoxedIntValue.<init>:(I)V
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc 42.0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2d
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test015();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop015.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$6
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$6.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
3: ldc "foreign"
4: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: ldc 42.0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2d
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test016();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop016.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
aconst_null
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc 42.0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2d
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test017();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop017.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
iconst_3
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc 42.0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2d
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test018();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop018.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
iconst_3
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc 3
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test019();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop019.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
iconst_5
newarray 10
dup
iconst_0
bipush 40
iastore
dup
iconst_1
bipush 41
iastore
dup
iconst_2
bipush 42
iastore
dup
iconst_3
bipush 43
iastore
dup
iconst_4
bipush 44
iastore
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc 210
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test020();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop020.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: iconst_5
newarray 10
dup
iconst_0
bipush 40
iastore
dup
iconst_1
bipush 41
iastore
dup
iconst_2
bipush 42
iastore
dup
iconst_3
bipush 43
iastore
dup
iconst_4
bipush 44
iastore
astore 4
start local 4 3: aload 3
aload 4
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
5: iconst_5
newarray 10
dup
iconst_0
bipush 30
iastore
dup
iconst_1
bipush 31
iastore
dup
iconst_2
bipush 32
iastore
dup
iconst_3
bipush 33
iastore
dup
iconst_4
bipush 34
iastore
aload 4
invokestatic org.junit.Assert.assertArrayEquals:([I[I)V
end local 4 6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 6 4 arr [I
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test021();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop021.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
iconst_5
newarray 7
dup
iconst_0
ldc 40.0
dastore
dup
iconst_1
ldc 41.0
dastore
dup
iconst_2
ldc 42.0
dastore
dup
iconst_3
ldc 43.0
dastore
dup
iconst_4
ldc 44.0
dastore
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc 210
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test022();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop022.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: iconst_5
newarray 7
dup
iconst_0
ldc 40.0
dastore
dup
iconst_1
ldc 41.0
dastore
dup
iconst_2
ldc 42.0
dastore
dup
iconst_3
ldc 43.0
dastore
dup
iconst_4
ldc 44.0
dastore
astore 4
start local 4 3: aload 3
aload 4
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
5: iconst_5
newarray 7
dup
iconst_0
ldc 30.0
dastore
dup
iconst_1
ldc 31.0
dastore
dup
iconst_2
ldc 32.0
dastore
dup
iconst_3
ldc 33.0
dastore
dup
iconst_4
ldc 34.0
dastore
aload 4
ldc 0.1
invokestatic org.junit.Assert.assertArrayEquals:([D[DD)V
end local 4 6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 6 4 arr [D
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test023();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop023.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
astore 4
start local 4 3: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
astore 5
start local 5 4: aload 3
aload 4
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: aload 3
aload 5
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign2"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
6: ldc 42
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 7 4 a Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
4 7 5 b Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test024();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop024.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
astore 4
start local 4 3: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
astore 5
start local 5 4: aload 5
ldc "valueI"
bipush 55
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 3
aload 4
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
6: aload 3
aload 5
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign2"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
7: ldc 55
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 5 end local 4 8: aload 3
ifnull 14
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 14
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
9: astore 1
aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
10: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 2
aload 1
ifnonnull 12
aload 2
astore 1
goto 13
StackMap locals:
StackMap stack:
12: aload 1
aload 2
if_acmpeq 13
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 1
athrow
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 10 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 8 4 a Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
4 8 5 b Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exception table:
from to target type
2 8 9 any
1 11 11 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test025();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop025.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
astore 4
start local 4 3: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
astore 5
start local 5 4: invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
astore 6
start local 6 5: aload 5
ldc "valueI"
bipush 55
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 6
ldc "valueI"
bipush 66
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 3
aload 4
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
8: aload 3
aload 5
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign2"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
9: aload 3
aload 6
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign3"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
10: ldc 66
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 11: aload 3
ifnull 17
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 17
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
12: astore 1
aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
13: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 2
aload 1
ifnonnull 15
aload 2
astore 1
goto 16
StackMap locals:
StackMap stack:
15: aload 1
aload 2
if_acmpeq 16
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
16: aload 1
athrow
17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 13 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 11 4 a Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
4 11 5 b Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
5 11 6 c Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exception table:
from to target type
2 11 12 any
1 14 14 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test026();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop026.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
astore 4
start local 4 3: aload 3
aload 4
ldc "foo"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: ldc 14
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: ldc "bar"
aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject.storage:Ljava/lang/Object;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 6 4 result Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$ReturnObject;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test027();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop027.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
astore 4
start local 4 3: aload 3
aload 4
ldc "foo"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: ldc 14
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: ldc "\u0080\u0081\u0082\u0083\u0084\u0085\u0086\u0087\u0088\u0089\u008A\u008B\u008C\u008D\u008E\u008F\u0090\u0091\u0092\u0093\u0094\u0095\u0096\u0097\u0098\u0099\u009A\u009B\u009C\u009D\u009E\u009F\u00A0\u00A1\u00A2\u00A3\u00A4\u00A5\u00A6\u00A7\u00A8\u00A9\u00AA\u00AB\u00AC\u00AD\u00AE\u00AF\u00B0\u00B1\u00B2\u00B3\u00B4\u00B5\u00B6\u00B7\u00B8\u00B9\u00BA\u00BB\u00BC\u00BD\u00BE\u00BF\u00C0\u00C1\u00C2\u00C3\u00C4\u00C5\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CC\u00CD\u00CE\u00CF\u00D0\u00D1\u00D2\u00D3\u00D4\u00D5\u00D6\u00D7\u00D8\u00D9\u00DA\u00DB\u00DC\u00DD\u00DE\u00DF\u00E0\u00E1\u00E2\u00E3\u00E4\u00E5\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EC\u00ED\u00EE\u00EF\u00F0\u00F1\u00F2\u00F3\u00F4\u00F5\u00F6\u00F7\u00F8\u00F9\u00FA\u00FB\u00FC\u00FD\u00FE\u00FF"
6: aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject.storage:Ljava/lang/Object;
7: invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 8: aload 3
ifnull 14
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 14
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
9: astore 1
aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
10: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 2
aload 1
ifnonnull 12
aload 2
astore 1
goto 13
StackMap locals:
StackMap stack:
12: aload 1
aload 2
if_acmpeq 13
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 1
athrow
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 10 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 8 4 result Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$ReturnObject;
Exception table:
from to target type
2 8 9 any
1 11 11 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test028();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop028.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
astore 4
start local 4 3: aload 3
aload 4
ldc "foo"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: ldc 72
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: ldc "foo\u0000 bar\u0080 "
aload 4
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject.storage:Ljava/lang/Object;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 6 4 result Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$ReturnObject;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test030();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop030.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "getValueI"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_1
anewarray java.lang.Object
dup
iconst_0
invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 5
start local 5 5: ldc 42
iload 5
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 5 end local 4 6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 6 4 get Lorg/graalvm/polyglot/Value;
5 6 5 result I
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test031();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop031.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "complexAdd"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ComplexNumber
dup
aload 0
ldc 32.0
ldc 10.0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ComplexNumber.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;DD)V
astore 5
start local 5 5: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ComplexNumber
dup
aload 0
ldc 10.0
ldc 32.0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ComplexNumber.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;DD)V
astore 6
start local 6 6: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 6
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
7: ldc 42.0
aload 5
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ComplexNumber.real:D
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
8: ldc 42.0
aload 5
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ComplexNumber.imaginary:D
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
end local 6 end local 5 end local 4 9: aload 3
ifnull 15
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 15
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
10: astore 1
aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
11: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 2
aload 1
ifnonnull 13
aload 2
astore 1
goto 14
StackMap locals:
StackMap stack:
13: aload 1
aload 2
if_acmpeq 14
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 1
athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 11 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 9 4 apply Lorg/graalvm/polyglot/Value;
5 9 5 a Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$ComplexNumber;
6 9 6 b Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$ComplexNumber;
Exception table:
from to target type
2 9 10 any
1 12 12 any
RuntimeVisibleAnnotations:
org.junit.Test()
org.junit.Ignore()
public void test032();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop032.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: iconst_5
newarray 10
dup
iconst_0
iconst_1
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_3
iastore
dup
iconst_3
iconst_4
iastore
dup
iconst_4
iconst_5
iastore
astore 5
start local 5 5: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 6
start local 6 6: ldc 3
iload 6
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 7 4 get Lorg/graalvm/polyglot/Value;
5 7 5 a [I
6 7 6 result I
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test033();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop033.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: iconst_5
newarray 9
dup
iconst_0
iconst_1
sastore
dup
iconst_1
iconst_2
sastore
dup
iconst_2
iconst_3
sastore
dup
iconst_3
iconst_4
sastore
dup
iconst_4
iconst_5
sastore
astore 5
start local 5 5: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 6
start local 6 6: ldc 3
iload 6
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 7 4 get Lorg/graalvm/polyglot/Value;
5 7 5 a [S
6 7 6 result I
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test034();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop034.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: iconst_5
newarray 8
dup
iconst_0
iconst_1
bastore
dup
iconst_1
iconst_2
bastore
dup
iconst_2
iconst_3
bastore
dup
iconst_3
iconst_4
bastore
dup
iconst_4
iconst_5
bastore
astore 5
start local 5 5: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 6
start local 6 6: ldc 3
iload 6
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 7 4 get Lorg/graalvm/polyglot/Value;
5 7 5 a [B
6 7 6 result I
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test035();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop035.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: iconst_5
newarray 11
dup
iconst_0
lconst_1
lastore
dup
iconst_1
ldc 2
lastore
dup
iconst_2
ldc 3
lastore
dup
iconst_3
ldc 4
lastore
dup
iconst_4
ldc 5
lastore
astore 5
start local 5 5: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 6
start local 6 6: ldc 3
iload 6
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 7 4 get Lorg/graalvm/polyglot/Value;
5 7 5 a [J
6 7 6 result I
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test036();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop036.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: iconst_5
newarray 6
dup
iconst_0
fconst_1
fastore
dup
iconst_1
fconst_2
fastore
dup
iconst_2
ldc 3.0
fastore
dup
iconst_3
ldc 4.0
fastore
dup
iconst_4
ldc 5.0
fastore
astore 5
start local 5 5: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 6
start local 6 6: ldc 3
iload 6
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 7 4 get Lorg/graalvm/polyglot/Value;
5 7 5 a [F
6 7 6 result I
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test037();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop037.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: iconst_5
newarray 7
dup
iconst_0
dconst_1
dastore
dup
iconst_1
ldc 2.0
dastore
dup
iconst_2
ldc 3.0
dastore
dup
iconst_3
ldc 4.0
dastore
dup
iconst_4
ldc 5.0
dastore
astore 5
start local 5 5: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 6
start local 6 6: ldc 3
iload 6
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 7 4 get Lorg/graalvm/polyglot/Value;
5 7 5 a [D
6 7 6 result I
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test038();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop038.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: iconst_5
newarray 11
dup
iconst_0
lconst_1
lastore
dup
iconst_1
ldc 2
lastore
dup
iconst_2
ldc 3
lastore
dup
iconst_3
ldc 4
lastore
dup
iconst_4
ldc 5
lastore
astore 5
start local 5 5: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 6
start local 6 6: ldc 3
iload 6
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 7 4 get Lorg/graalvm/polyglot/Value;
5 7 5 a [J
6 7 6 result I
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test039();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop039.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: iconst_5
newarray 8
dup
iconst_0
iconst_1
bastore
dup
iconst_1
iconst_2
bastore
dup
iconst_2
iconst_3
bastore
dup
iconst_3
iconst_4
bastore
dup
iconst_4
iconst_5
bastore
astore 5
start local 5 5: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 6
start local 6 6: ldc 3
iload 6
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 7 4 get Lorg/graalvm/polyglot/Value;
5 7 5 a [B
6 7 6 result I
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test040();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop040.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: ldc 16
aload 5
ldc 4
invokevirtual org.graalvm.polyglot.Value.getArrayElement:(J)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 5 end local 4 6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 6 4 get Lorg/graalvm/polyglot/Value;
5 6 5 value Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
org.junit.Ignore(value = "test semantics not clear")
public void test041();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop041.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 3
ldc "getval"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
ldc 3
bipush 9
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual org.graalvm.polyglot.Value.setArrayElement:(JLjava/lang/Object;)V
6: aload 5
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 6
start local 6 7: ldc 9
iload 6
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 6 end local 5 end local 4 8: aload 3
ifnull 14
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 14
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
9: astore 1
aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
10: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 2
aload 1
ifnonnull 12
aload 2
astore 1
goto 13
StackMap locals:
StackMap stack:
12: aload 1
aload 2
if_acmpeq 13
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 1
athrow
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 10 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 8 4 get Lorg/graalvm/polyglot/Value;
5 8 5 getval Lorg/graalvm/polyglot/Value;
7 8 6 value I
Exception table:
from to target type
2 8 9 any
1 11 11 any
RuntimeVisibleAnnotations:
org.junit.Test()
org.junit.Ignore(value = "test semantics not clear")
public void test042();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop042.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "get"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.getArraySize:()J
pop2
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 5 4 get Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test(expected = Ljava/lang/UnsupportedOperationException;)
public void test043();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop043.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test044();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop044.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 3
ldc 14.5
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
ldc "c"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test045a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop045.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
bipush 15
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_1
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test046a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop046.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_1
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test046b();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop046.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
bipush 15
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_1
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test047a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop047.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
bipush 15
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test048a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop048.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
bipush 15
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test048b();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop048.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_1
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test049a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop049.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test049b();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop049.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 3
aload 4
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 6 4 object Ljava/lang/Object;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test050a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop050.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
bipush 14
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_1
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test050b();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop050.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 3
aload 4
ldc "b"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: lconst_1
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 6 4 object Ljava/lang/Object;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test051a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop051.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.testGlobal:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test052a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop052.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.testGlobal:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test053a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop053.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.testGlobal:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test054a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop054.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.testGlobal:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test055a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop055.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.testGlobal:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test056a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop056.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.testGlobal:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
private void testGlobal(com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner);
descriptor: (Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
astore 2
start local 2 1: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 3
start local 3 2: aload 1
aload 3
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 1
aload 2
ldc "returnObject"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: aload 1
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
5: aload 3
aload 2
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject.storage:Ljava/lang/Object;
invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
0 7 1 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
1 7 2 returnObject Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$ReturnObject;
2 7 3 original Ljava/lang/Object;
MethodParameters:
Name Flags
runner
public void test057();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop057.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 3: aload 4
ldc "a"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 4
ldc "b"
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 3
aload 4
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
6: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: ldc 101
aload 4
ldc "a"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
8: ldc 102
aload 4
ldc "b"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 9: aload 3
ifnull 15
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 15
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
10: astore 1
aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
11: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 2
aload 1
ifnonnull 13
aload 2
astore 1
goto 14
StackMap locals:
StackMap stack:
13: aload 1
aload 2
if_acmpeq 14
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 1
athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 11 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 9 4 a Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
Exception table:
from to target type
2 9 10 any
1 12 12 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test058();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop058.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: bipush 9
anewarray java.lang.Object
dup
iconst_0
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 6
bipush 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 7
bipush 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 8
bipush 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
astore 4
start local 4 3: aload 3
aload 4
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: bipush 101
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 4
iconst_0
aaload
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
6: bipush 102
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 4
iconst_1
aaload
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 7 4 a [Ljava/lang/Object;
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test059();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop059.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: bipush 9
anewarray java.lang.Object
dup
iconst_0
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_2
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_3
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_4
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_5
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 6
bipush 6
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 7
bipush 7
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
bipush 8
bipush 8
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
astore 4
start local 4 3: aload 3
aload 4
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: ldc 101
aload 4
iconst_0
aaload
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asNativePointer:()J
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: ldc 102
aload 4
iconst_1
aaload
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asNativePointer:()J
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 7 4 a [Ljava/lang/Object;
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Ignore()
org.junit.Test()
public void testForeignImport();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "foreignImport.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 4
start local 4 3: aload 4
ldc "a"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 4
ldc "b"
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 3
aload 4
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
6: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
7: aload 4
ldc "a"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asNativePointer:()J
lstore 5
start local 5 8: aload 4
ldc "b"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
invokevirtual org.graalvm.polyglot.Value.asNativePointer:()J
lstore 7
start local 7 9: ldc 101
lload 5
invokestatic org.junit.Assert.assertEquals:(JJ)V
10: ldc 102
lload 7
invokestatic org.junit.Assert.assertEquals:(JJ)V
11: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 9
start local 9 12: aload 9
ldc "a"
iconst_3
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 9
ldc "b"
iconst_4
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 3
aload 9
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
ldc "foreign"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
15: ldc 103
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
16: aload 9
ldc "a"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic org.graalvm.polyglot.Value.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asShort:()S
istore 10
start local 10 17: aload 9
ldc "b"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
invokestatic org.graalvm.polyglot.Value.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asShort:()S
istore 11
start local 11 18: ldc 3
iload 10
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
19: ldc 4
iload 11
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 11 end local 10 end local 9 end local 7 end local 5 end local 4 20: aload 3
ifnull 26
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 26
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
21: astore 1
aload 3
ifnull 22
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
22: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 2
aload 1
ifnonnull 24
aload 2
astore 1
goto 25
StackMap locals:
StackMap stack:
24: aload 1
aload 2
if_acmpeq 25
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
25: aload 1
athrow
26: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 22 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 20 4 a Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
8 20 5 a0 J
9 20 7 a1 J
12 20 9 b Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
17 20 10 b0 S
18 20 11 b1 S
Exception table:
from to target type
2 20 21 any
1 23 23 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test061();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop061.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test062();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop062.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testCreateTwoHandles();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "createTwoHandles.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test063();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop063.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testCreateResolveHandle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "createResolveHandle.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test064();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop064.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testCreateReleaseHandle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "createReleaseHandle.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test065();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop065.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test(expected = Lorg/graalvm/polyglot/PolyglotException;)
public void testDoubleReleaseHandle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "doubleReleaseHandle.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test(expected = Lorg/graalvm/polyglot/PolyglotException;)
public void test066();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop066.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
org.junit.Test(expected = Lorg/graalvm/polyglot/PolyglotException;)
public void testAccessReleasedHandle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "accessReleasedHandle.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
org.junit.Test(expected = Lorg/graalvm/polyglot/PolyglotException;)
public void test067();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop067.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testResolveHandle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "resolveHandle.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testBoxedboolean();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop_conditionalWithBoxedBoolean.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
ldc "boxed_true"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
ldc "boxed_false"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testUnboxedboolean();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop_conditionalWithUnboxedBoolean.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
ldc "boxed_true"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
ldc "boxed_false"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test069();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop069.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
bipush 42
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
ldc "a"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
4: aload 3
ldc "registered_tagged_address"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 5: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 5
start local 5 6: aload 5
instanceof java.lang.Integer
ifeq 7
aload 5
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
bipush 42
if_icmpne 7
iconst_1
goto 8
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner org.graalvm.polyglot.Value java.lang.Object
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: invokestatic org.junit.Assert.assertTrue:(Z)V
end local 5 end local 4 9: goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Exception
10: astore 4
start local 4 11: new java.lang.AssertionError
dup
aload 4
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 12: StackMap locals:
StackMap stack:
aload 3
ifnull 18
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 18
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 1
aload 3
ifnull 14
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
14: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 2
aload 1
ifnonnull 16
aload 2
astore 1
goto 17
StackMap locals:
StackMap stack:
16: aload 1
aload 2
if_acmpeq 17
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 1
athrow
18: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 14 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
5 9 4 globalSymbol Lorg/graalvm/polyglot/Value;
6 9 5 result Ljava/lang/Object;
11 12 4 e Ljava/lang/Exception;
Exception table:
from to target type
4 9 10 Class java.lang.Exception
2 12 13 any
1 15 15 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test070();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop070.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "returnPointerToGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 3
ldc "setPointer"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
bipush 42
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
5: aload 3
ldc "returnGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 6: aload 5
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 6
start local 6 7: aload 6
instanceof java.lang.Integer
ifeq 8
aload 6
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
bipush 42
if_icmpne 8
iconst_1
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner org.graalvm.polyglot.Value org.graalvm.polyglot.Value java.lang.Object
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: invokestatic org.junit.Assert.assertTrue:(Z)V
end local 6 end local 5 end local 4 10: goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Exception
11: astore 4
start local 4 12: new java.lang.AssertionError
dup
aload 4
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 13: StackMap locals:
StackMap stack:
aload 3
ifnull 19
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 1
aload 3
ifnull 15
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
15: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 2
aload 1
ifnonnull 17
aload 2
astore 1
goto 18
StackMap locals:
StackMap stack:
17: aload 1
aload 2
if_acmpeq 18
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 1
athrow
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 15 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 10 4 pointer Lorg/graalvm/polyglot/Value;
6 10 5 value Lorg/graalvm/polyglot/Value;
7 10 6 result Ljava/lang/Object;
12 13 4 e Ljava/lang/Exception;
Exception table:
from to target type
3 10 11 Class java.lang.Exception
2 13 14 any
1 16 16 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test071();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop071.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 4: aload 3
ldc "returnPointerToGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 3
ldc "setPointer"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 4
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
6: aload 3
ldc "returnGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 7: aload 6
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asHostObject:()Ljava/lang/Object;
astore 7
start local 7 8: aload 7
aload 4
if_acmpne 9
iconst_1
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner java.lang.Object org.graalvm.polyglot.Value org.graalvm.polyglot.Value java.lang.Object
StackMap stack:
9: iconst_0
StackMap locals:
StackMap stack: int
10: invokestatic org.junit.Assert.assertTrue:(Z)V
end local 7 end local 6 end local 5 end local 4 11: goto 14
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Exception
12: astore 4
start local 4 13: new java.lang.AssertionError
dup
aload 4
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 14: StackMap locals:
StackMap stack:
aload 3
ifnull 20
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 1
aload 3
ifnull 16
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
16: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 2
aload 1
ifnonnull 18
aload 2
astore 1
goto 19
StackMap locals:
StackMap stack:
18: aload 1
aload 2
if_acmpeq 19
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 1
athrow
20: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 16 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 11 4 obj Ljava/lang/Object;
5 11 5 pointer Lorg/graalvm/polyglot/Value;
7 11 6 value Lorg/graalvm/polyglot/Value;
8 11 7 result Ljava/lang/Object;
13 14 4 e Ljava/lang/Exception;
Exception table:
from to target type
3 11 12 Class java.lang.Exception
2 14 15 any
1 17 17 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test072();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop072.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 4: aload 3
ldc "returnPointerToGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 5
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 3
ldc "setter"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 7: aload 7
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 6
aastore
dup
iconst_1
aload 4
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
8: aload 3
ldc "returnGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 8
start local 8 9: aload 8
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asHostObject:()Ljava/lang/Object;
astore 9
start local 9 10: aload 9
aload 4
if_acmpne 11
iconst_1
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner java.lang.Object org.graalvm.polyglot.Value java.lang.Object org.graalvm.polyglot.Value org.graalvm.polyglot.Value java.lang.Object
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: invokestatic org.junit.Assert.assertTrue:(Z)V
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 13: goto 16
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Exception
14: astore 4
start local 4 15: new java.lang.AssertionError
dup
aload 4
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 3
ifnull 22
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 22
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 1
aload 3
ifnull 18
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
18: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 2
aload 1
ifnonnull 20
aload 2
astore 1
goto 21
StackMap locals:
StackMap stack:
20: aload 1
aload 2
if_acmpeq 21
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 1
athrow
22: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 18 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 13 4 obj Ljava/lang/Object;
5 13 5 pointer Lorg/graalvm/polyglot/Value;
6 13 6 pointerTruffleObject Ljava/lang/Object;
7 13 7 setter Lorg/graalvm/polyglot/Value;
9 13 8 value Lorg/graalvm/polyglot/Value;
10 13 9 result Ljava/lang/Object;
15 16 4 e Ljava/lang/Exception;
Exception table:
from to target type
3 13 14 Class java.lang.Exception
2 16 17 any
1 19 19 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test072a();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop072.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "returnPointerToGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 3
ldc "setter"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 6
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
bipush 42
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
7: aload 3
ldc "returnGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 8: aload 7
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 8
start local 8 9: aload 8
instanceof java.lang.Integer
ifeq 10
aload 8
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
bipush 42
if_icmpne 10
iconst_1
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner org.graalvm.polyglot.Value java.lang.Object org.graalvm.polyglot.Value org.graalvm.polyglot.Value java.lang.Object
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: invokestatic org.junit.Assert.assertTrue:(Z)V
end local 8 end local 7 end local 6 end local 5 end local 4 12: goto 15
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Exception
13: astore 4
start local 4 14: new java.lang.AssertionError
dup
aload 4
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 15: StackMap locals:
StackMap stack:
aload 3
ifnull 21
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 21
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 1
aload 3
ifnull 17
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
17: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 2
aload 1
ifnonnull 19
aload 2
astore 1
goto 20
StackMap locals:
StackMap stack:
19: aload 1
aload 2
if_acmpeq 20
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 1
athrow
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 17 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 12 4 pointer Lorg/graalvm/polyglot/Value;
5 12 5 pointerTruffleObject Ljava/lang/Object;
6 12 6 setter Lorg/graalvm/polyglot/Value;
8 12 7 value Lorg/graalvm/polyglot/Value;
9 12 8 result Ljava/lang/Object;
14 15 4 e Ljava/lang/Exception;
Exception table:
from to target type
3 12 13 Class java.lang.Exception
2 15 16 any
1 18 18 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test072b();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop072.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "returnPointerToGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 3
ldc "setter"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 6
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
bipush 42
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
7: aload 3
ldc "returnGlobal"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 8: aload 7
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 8
start local 8 9: iload 8
bipush 42
if_icmpne 10
iconst_1
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner org.graalvm.polyglot.Value java.lang.Object org.graalvm.polyglot.Value org.graalvm.polyglot.Value int
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: invokestatic org.junit.Assert.assertTrue:(Z)V
12: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 9
start local 9 13: aload 6
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 9
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
14: aload 7
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asHostObject:()Ljava/lang/Object;
astore 10
start local 10 15: aload 10
aload 9
if_acmpne 16
iconst_1
goto 17
StackMap locals: java.lang.Object java.lang.Object
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: invokestatic org.junit.Assert.assertTrue:(Z)V
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 18: goto 21
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Exception
19: astore 4
start local 4 20: new java.lang.AssertionError
dup
aload 4
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 21: StackMap locals:
StackMap stack:
aload 3
ifnull 27
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 27
StackMap locals:
StackMap stack: java.lang.Throwable
22: astore 1
aload 3
ifnull 23
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
23: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
24: astore 2
aload 1
ifnonnull 25
aload 2
astore 1
goto 26
StackMap locals:
StackMap stack:
25: aload 1
aload 2
if_acmpeq 26
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
26: aload 1
athrow
27: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 23 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 18 4 pointer Lorg/graalvm/polyglot/Value;
5 18 5 pointerTruffleObject Ljava/lang/Object;
6 18 6 setter Lorg/graalvm/polyglot/Value;
8 18 7 value Lorg/graalvm/polyglot/Value;
9 18 8 result I
13 18 9 obj Ljava/lang/Object;
15 18 10 r Ljava/lang/Object;
20 21 4 e Ljava/lang/Exception;
Exception table:
from to target type
3 18 19 Class java.lang.Exception
2 21 22 any
1 24 24 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testPolyglotGetArg();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "polyglotGetArg.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: ldc 42
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test074();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop074.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.testGlobal:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test076();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop076.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void test077();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interop077.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokedynamic execute()Lorg/graalvm/polyglot/proxy/ProxyExecutable;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
([Lorg/graalvm/polyglot/Value;)Ljava/lang/Object;
com/oracle/truffle/llvm/tests/interop/LLVMInteropTest.lambda$0([Lorg/graalvm/polyglot/Value;)Ljava/lang/Object; (6)
([Lorg/graalvm/polyglot/Value;)Ljava/lang/Object;
ldc "getstring"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: ldc "this is a test"
invokevirtual java.lang.String.length:()I
i2l
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testNullFunctionPointerCall();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "nullFunctionPointerCall.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: com.oracle.truffle.llvm.runtime.except.LLVMNativePointerException
4: pop
goto 10
5: StackMap locals:
StackMap stack: org.graalvm.polyglot.PolyglotException
astore 4
start local 4 6: ldc "Expected '%s'"
iconst_1
anewarray java.lang.Object
dup
iconst_0
ldc "Invalid native function pointer"
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
ldc "Invalid native function pointer"
aload 4
invokevirtual org.graalvm.polyglot.PolyglotException.getMessage:()Ljava/lang/String;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 7: goto 10
8: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 9: new java.lang.AssertionError
dup
aload 4
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 4 10: StackMap locals:
StackMap stack:
aload 3
ifnull 16
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 16
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 1
aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
12: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 2
aload 1
ifnonnull 14
aload 2
astore 1
goto 15
StackMap locals:
StackMap stack:
14: aload 1
aload 2
if_acmpeq 15
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 1
athrow
16: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 12 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
6 7 4 e Lorg/graalvm/polyglot/PolyglotException;
9 10 4 e Ljava/lang/Exception;
Exception table:
from to target type
2 3 4 Class com.oracle.truffle.llvm.runtime.except.LLVMNativePointerException
2 3 5 Class org.graalvm.polyglot.PolyglotException
2 3 8 Class java.lang.Exception
2 10 11 any
1 13 13 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testTypeCheckNative();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "typeCheck.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "check_types_nativeptr"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 4
start local 4 4: lconst_0
iload 4
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 5 4 ret I
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testFitsInNative();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "fitsIn.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "test_fits_in_nativeptr"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
istore 4
start local 4 4: lconst_0
iload 4
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 5 4 ret I
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testIsHandleOld();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "isHandleOld.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testIsHandle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "isHandle.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testReleaseHandleOld();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "releaseHandleOld.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testReleaseHandle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "releaseHandle.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
astore 4
start local 4 3: aload 3
aload 4
ldc "object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
4: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 5 4 a Ljava/lang/Object;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testRegisterHandle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "registerHandle.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ForeignObject
dup
iconst_1
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ForeignObject.<init>:(I)V
ldc "global_object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testAssignManagedFunction();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "assignManagedFunction.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ExecutableForeignObject
dup
bipush 123
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ExecutableForeignObject.<init>:(I)V
ldc "global_object"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
3: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testStrlen();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=9, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "strlen.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "func"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_0
newarray 5
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 4
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_1
newarray 5
dup
iconst_0
bipush 97
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 4
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_4
newarray 5
dup
iconst_0
bipush 97
castore
dup
iconst_1
bipush 98
castore
dup
iconst_2
bipush 99
castore
dup
iconst_3
bipush 100
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 7: aload 4
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_5
newarray 5
dup
iconst_0
bipush 97
castore
dup
iconst_1
bipush 98
castore
dup
iconst_2
bipush 99
castore
dup
iconst_3
bipush 100
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 8
start local 8 8: lconst_0
aload 5
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
9: lconst_1
aload 6
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
10: ldc 4
aload 7
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
11: ldc 5
aload 8
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 8 end local 7 end local 6 end local 5 end local 4 12: aload 3
ifnull 18
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 18
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
13: astore 1
aload 3
ifnull 14
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
14: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 2
aload 1
ifnonnull 16
aload 2
astore 1
goto 17
StackMap locals:
StackMap stack:
16: aload 1
aload 2
if_acmpeq 17
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
17: aload 1
athrow
18: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 14 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 12 4 strlenFunction Lorg/graalvm/polyglot/Value;
5 12 5 nullString Lorg/graalvm/polyglot/Value;
6 12 6 a Lorg/graalvm/polyglot/Value;
7 12 7 abcd Lorg/graalvm/polyglot/Value;
8 12 8 abcdWithTerminator Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 12 13 any
1 15 15 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testStrcmp();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=20, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "strcmp.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "func"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_0
newarray 5
aastore
dup
iconst_1
iconst_0
newarray 5
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_1
newarray 5
dup
iconst_0
bipush 97
castore
aastore
dup
iconst_1
iconst_0
newarray 5
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_0
newarray 5
aastore
dup
iconst_1
iconst_1
newarray 5
dup
iconst_0
bipush 97
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 7: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_1
newarray 5
dup
iconst_0
bipush 97
castore
aastore
dup
iconst_1
iconst_1
newarray 5
dup
iconst_0
bipush 100
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 8
start local 8 8: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_1
newarray 5
dup
iconst_0
bipush 100
castore
aastore
dup
iconst_1
iconst_1
newarray 5
dup
iconst_0
bipush 97
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 9
start local 9 9: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_1
newarray 5
dup
iconst_0
bipush 100
castore
aastore
dup
iconst_1
iconst_1
newarray 5
dup
iconst_0
bipush 100
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 10
start local 10 10: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_3
newarray 5
dup
iconst_0
bipush 97
castore
dup
iconst_1
bipush 98
castore
dup
iconst_2
bipush 99
castore
aastore
dup
iconst_1
iconst_4
newarray 5
dup
iconst_0
bipush 97
castore
dup
iconst_1
bipush 98
castore
dup
iconst_2
bipush 99
castore
dup
iconst_3
bipush 100
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 11
start local 11 11: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_4
newarray 5
dup
iconst_0
bipush 97
castore
dup
iconst_1
bipush 98
castore
dup
iconst_2
bipush 99
castore
dup
iconst_3
bipush 100
castore
aastore
dup
iconst_1
iconst_3
newarray 5
dup
iconst_0
bipush 97
castore
dup
iconst_1
bipush 98
castore
dup
iconst_2
bipush 99
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 12
start local 12 12: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_4
newarray 5
dup
iconst_0
bipush 65
castore
dup
iconst_1
bipush 66
castore
dup
iconst_2
bipush 67
castore
dup
iconst_3
bipush 68
castore
aastore
dup
iconst_1
iconst_4
newarray 5
dup
iconst_0
bipush 97
castore
dup
iconst_1
bipush 98
castore
dup
iconst_2
bipush 99
castore
dup
iconst_3
bipush 100
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 13
start local 13 13: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
iconst_4
newarray 5
dup
iconst_0
bipush 65
castore
dup
iconst_1
bipush 66
castore
dup
iconst_3
bipush 68
castore
aastore
dup
iconst_1
iconst_3
newarray 5
dup
iconst_0
bipush 65
castore
dup
iconst_1
bipush 66
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 14
start local 14 14: lconst_0
aload 5
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
15: ldc 97
aload 6
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
16: ldc -97
aload 7
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
17: ldc -3
aload 8
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
18: ldc 3
aload 9
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
19: lconst_0
aload 10
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
20: ldc -100
aload 11
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
21: ldc 100
aload 12
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
22: ldc -32
aload 13
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
23: lconst_0
aload 14
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
24: aload 3
ldc "compare_with_native"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 15
start local 15 25: aload 15
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_0
newarray 5
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 16
start local 16 26: aload 15
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_3
newarray 5
dup
iconst_0
bipush 102
castore
dup
iconst_1
bipush 111
castore
dup
iconst_2
bipush 111
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 17
start local 17 27: aload 15
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_1
newarray 5
dup
iconst_0
bipush 101
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 18
start local 18 28: aload 15
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_1
newarray 5
dup
iconst_0
bipush 103
castore
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 19
start local 19 29: ldc 102
aload 16
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
30: lconst_0
aload 17
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
31: lconst_1
aload 18
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
32: ldc -1
aload 19
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 33: aload 3
ifnull 39
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 39
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
34: astore 1
aload 3
ifnull 35
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
35: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
36: astore 2
aload 1
ifnonnull 37
aload 2
astore 1
goto 38
StackMap locals:
StackMap stack:
37: aload 1
aload 2
if_acmpeq 38
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
38: aload 1
athrow
39: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 35 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 33 4 strcmpFunction Lorg/graalvm/polyglot/Value;
5 33 5 test1 Lorg/graalvm/polyglot/Value;
6 33 6 test2 Lorg/graalvm/polyglot/Value;
7 33 7 test3 Lorg/graalvm/polyglot/Value;
8 33 8 test4 Lorg/graalvm/polyglot/Value;
9 33 9 test5 Lorg/graalvm/polyglot/Value;
10 33 10 test6 Lorg/graalvm/polyglot/Value;
11 33 11 test7 Lorg/graalvm/polyglot/Value;
12 33 12 test8 Lorg/graalvm/polyglot/Value;
13 33 13 test9 Lorg/graalvm/polyglot/Value;
14 33 14 compareUpToZero Lorg/graalvm/polyglot/Value;
25 33 15 strcmpWithNativeFunction Lorg/graalvm/polyglot/Value;
26 33 16 test10 Lorg/graalvm/polyglot/Value;
27 33 17 test11 Lorg/graalvm/polyglot/Value;
28 33 18 test12 Lorg/graalvm/polyglot/Value;
29 33 19 test13 Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 33 34 any
1 36 36 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testHandleFromNativeCallback();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "handleFromNativeCallback.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "testHandleFromNativeCallback"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_1
anewarray java.lang.Object
dup
iconst_0
invokestatic com.oracle.truffle.llvm.tests.interop.LLVMInteropTest.makeObjectA:()Ljava/util/Map;
invokestatic org.graalvm.polyglot.proxy.ProxyObject.fromMap:(Ljava/util/Map;)Lorg/graalvm/polyglot/proxy/ProxyObject;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: ldc 42
aload 5
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 5 end local 4 6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 6 4 testHandleFromNativeCallback Lorg/graalvm/polyglot/Value;
5 6 5 ret Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testAutoDerefHandleOld();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "autoDerefHandleOld.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "testAutoDerefHandle"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$7
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$7.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
astore 5
start local 5 5: aload 3
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.context:Lorg/graalvm/polyglot/Context;
iconst_1
newarray 10
dup
iconst_0
bipush 7
iastore
invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 6
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 7: ldc 33
aload 7
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 7 end local 6 end local 5 end local 4 8: aload 3
ifnull 14
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 14
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
9: astore 1
aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
10: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 2
aload 1
ifnonnull 12
aload 2
astore 1
goto 13
StackMap locals:
StackMap stack:
12: aload 1
aload 2
if_acmpeq 13
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 1
athrow
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 10 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 8 4 testHandleFromNativeCallback Lorg/graalvm/polyglot/Value;
5 8 5 proxyExecutable Lorg/graalvm/polyglot/proxy/ProxyExecutable;
6 8 6 intArray Ljava/lang/Object;
7 8 7 ret Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 8 9 any
1 11 11 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testAutoDerefHandle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "autoDerefHandle.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
3: aload 3
ldc "testAutoDerefHandle"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$8
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$8.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
astore 5
start local 5 5: aload 3
getfield com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.context:Lorg/graalvm/polyglot/Context;
iconst_1
newarray 10
dup
iconst_0
bipush 7
iastore
invokevirtual org.graalvm.polyglot.Context.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 6
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 7: ldc 33
aload 7
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 7 end local 6 end local 5 end local 4 8: aload 3
ifnull 14
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 14
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
9: astore 1
aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
10: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 2
aload 1
ifnonnull 12
aload 2
astore 1
goto 13
StackMap locals:
StackMap stack:
12: aload 1
aload 2
if_acmpeq 13
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 1
athrow
14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 10 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 8 4 testHandleFromNativeCallback Lorg/graalvm/polyglot/Value;
5 8 5 proxyExecutable Lorg/graalvm/polyglot/proxy/ProxyExecutable;
6 8 6 intArray Ljava/lang/Object;
7 8 7 ret Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 8 9 any
1 11 11 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testPointerThroughNativeCallback();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "pointerThroughNativeCallback.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
istore 4
start local 4 3: ldc 42
iload 4
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 4: aload 3
ifnull 10
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 10
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
5: astore 1
aload 3
ifnull 6
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
6: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 2
aload 1
ifnonnull 8
aload 2
astore 1
goto 9
StackMap locals:
StackMap stack:
8: aload 1
aload 2
if_acmpeq 9
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
9: aload 1
athrow
10: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 6 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
3 4 4 result I
Exception table:
from to target type
2 4 5 any
1 7 7 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testManagedMallocMemSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "managedMallocMemset.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: lconst_0
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
3: aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
4: astore 1
aload 3
ifnull 5
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
5: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 2
aload 1
ifnonnull 7
aload 2
astore 1
goto 8
StackMap locals:
StackMap stack:
7: aload 1
aload 2
if_acmpeq 8
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
8: aload 1
athrow
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 5 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 3 4 any
1 6 6 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testVirtualMallocArray();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "virtualMallocArray.cpp"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "test"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
ldc 42
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 5 4 test Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testVirtualMallocArray2();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "virtualMallocArray2.cpp"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "test"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
ldc 42
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 5 4 test Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testVirtualMallocArrayPointer();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "virtualMallocArrayPointer.cpp"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "test1"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 3
ldc "test2"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
ldc 42
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: aload 5
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
ldc 43
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 5 end local 4 7: aload 3
ifnull 13
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 13
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
8: astore 1
aload 3
ifnull 9
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
13: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 9 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 7 4 test1 Lorg/graalvm/polyglot/Value;
5 7 5 test2 Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 7 8 any
1 10 10 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testVirtualMallocGlobal();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "virtualMallocGlobal.cpp"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "test"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asLong:()J
ldc 42
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 5 4 test Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testVirtualMallocGlobaAssignl();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "virtualMallocGlobalAssign.cpp"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "test"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asLong:()J
ldc 42
invokestatic org.junit.Assert.assertEquals:(JJ)V
end local 4 5: aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
6: astore 1
aload 3
ifnull 7
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
7: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 2
aload 1
ifnonnull 9
aload 2
astore 1
goto 10
StackMap locals:
StackMap stack:
9: aload 1
aload 2
if_acmpeq 10
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
10: aload 1
athrow
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 7 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 5 4 test Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 5 6 any
1 8 8 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testVirtualMallocObject();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "virtualMallocObject.cpp"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "testGetA"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 3
ldc "testGetB"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 3
ldc "testGetC"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 3
ldc "testGetD"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 7: aload 3
ldc "testGetE"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 8
start local 8 8: aload 3
ldc "testGetF"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 9
start local 9 9: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asLong:()J
ldc 42
invokestatic org.junit.Assert.assertEquals:(JJ)V
10: aload 5
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asDouble:()D
ldc 13.4
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
11: aload 6
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asFloat:()F
f2d
ldc 13.5
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
12: aload 7
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
ldc 56
invokestatic org.junit.Assert.assertEquals:(JJ)V
13: aload 8
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asByte:()B
i2l
ldc 5
invokestatic org.junit.Assert.assertEquals:(JJ)V
14: aload 9
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asBoolean:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 15: aload 3
ifnull 21
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 21
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
16: astore 1
aload 3
ifnull 17
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
17: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 2
aload 1
ifnonnull 19
aload 2
astore 1
goto 20
StackMap locals:
StackMap stack:
19: aload 1
aload 2
if_acmpeq 20
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 1
athrow
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 17 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 15 4 setA Lorg/graalvm/polyglot/Value;
5 15 5 setB Lorg/graalvm/polyglot/Value;
6 15 6 setC Lorg/graalvm/polyglot/Value;
7 15 7 setD Lorg/graalvm/polyglot/Value;
8 15 8 setE Lorg/graalvm/polyglot/Value;
9 15 9 setF Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 15 16 any
1 18 18 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testVirtualMallocObjectCopy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "virtualMallocObjectCopy.cpp"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "testGetA"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 3
ldc "testGetB"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 3
ldc "testGetC"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 3
ldc "testGetD"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 7: aload 3
ldc "testGetE"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 8
start local 8 8: aload 3
ldc "testGetF"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 9
start local 9 9: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asLong:()J
ldc 42
invokestatic org.junit.Assert.assertEquals:(JJ)V
10: aload 5
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asDouble:()D
ldc 13.4
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
11: aload 6
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asFloat:()F
f2d
ldc 13.5
ldc 0.1
invokestatic org.junit.Assert.assertEquals:(DDD)V
12: aload 7
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
i2l
ldc 56
invokestatic org.junit.Assert.assertEquals:(JJ)V
13: aload 8
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asByte:()B
i2l
ldc 5
invokestatic org.junit.Assert.assertEquals:(JJ)V
14: aload 9
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asBoolean:()Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 15: aload 3
ifnull 21
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 21
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
16: astore 1
aload 3
ifnull 17
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
17: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
18: astore 2
aload 1
ifnonnull 19
aload 2
astore 1
goto 20
StackMap locals:
StackMap stack:
19: aload 1
aload 2
if_acmpeq 20
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
20: aload 1
athrow
21: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 17 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 15 4 setA Lorg/graalvm/polyglot/Value;
5 15 5 setB Lorg/graalvm/polyglot/Value;
6 15 6 setC Lorg/graalvm/polyglot/Value;
7 15 7 setD Lorg/graalvm/polyglot/Value;
8 15 8 setE Lorg/graalvm/polyglot/Value;
9 15 9 setF Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 15 16 any
1 18 18 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testVirtualMallocCompare1();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "virtualMallocCompare1.cpp"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "test1"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: aload 3
ldc "test2"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 5
start local 5 5: aload 3
ldc "test3"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 6
start local 6 6: aload 3
ldc "test4"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 7
start local 7 7: aload 3
ldc "test5"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 8
start local 8 8: aload 3
ldc "test6"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 9
start local 9 9: aload 4
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
ifne 10
iconst_1
goto 11
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner org.graalvm.polyglot.Value org.graalvm.polyglot.Value org.graalvm.polyglot.Value org.graalvm.polyglot.Value org.graalvm.polyglot.Value org.graalvm.polyglot.Value
StackMap stack:
10: iconst_0
StackMap locals:
StackMap stack: int
11: invokestatic org.junit.Assert.assertTrue:(Z)V
12: aload 5
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
ifeq 13
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: invokestatic org.junit.Assert.assertTrue:(Z)V
15: aload 6
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
ifne 16
iconst_1
goto 17
StackMap locals:
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: invokestatic org.junit.Assert.assertTrue:(Z)V
18: aload 7
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
ifeq 19
iconst_1
goto 20
StackMap locals:
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: invokestatic org.junit.Assert.assertTrue:(Z)V
21: aload 8
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
ifne 22
iconst_1
goto 23
StackMap locals:
StackMap stack:
22: iconst_0
StackMap locals:
StackMap stack: int
23: invokestatic org.junit.Assert.assertTrue:(Z)V
24: aload 9
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
invokevirtual org.graalvm.polyglot.Value.asInt:()I
ifeq 25
iconst_1
goto 26
StackMap locals:
StackMap stack:
25: iconst_0
StackMap locals:
StackMap stack: int
26: invokestatic org.junit.Assert.assertTrue:(Z)V
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 27: aload 3
ifnull 33
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 33
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
28: astore 1
aload 3
ifnull 29
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
29: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
30: astore 2
aload 1
ifnonnull 31
aload 2
astore 1
goto 32
StackMap locals:
StackMap stack:
31: aload 1
aload 2
if_acmpeq 32
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
32: aload 1
athrow
33: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 29 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 27 4 test1 Lorg/graalvm/polyglot/Value;
5 27 5 test2 Lorg/graalvm/polyglot/Value;
6 27 6 test3 Lorg/graalvm/polyglot/Value;
7 27 7 test4 Lorg/graalvm/polyglot/Value;
8 27 8 test5 Lorg/graalvm/polyglot/Value;
9 27 9 test6 Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 27 28 any
1 30 30 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testConstruct001();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aconst_null
astore 2
aconst_null
astore 3
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "construct001.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 4
start local 4 2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 4
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$9
dup
aload 0
aload 1
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$9.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;Ljava/lang/StringBuilder;)V
4: ldc "callback"
5: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
6: aload 4
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
7: ldc "construct\n"
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
8: aload 4
ifnull 14
aload 4
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 14
end local 1 StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest top java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
9: astore 2
aload 4
ifnull 10
aload 4
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 2
ifnonnull 12
aload 3
astore 2
goto 13
StackMap locals:
StackMap stack:
12: aload 2
aload 3
if_acmpeq 13
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 2
athrow
start local 1 14: StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.StringBuilder
StackMap stack:
ldc "construct\ndestruct\n"
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
3 9 1 buf Ljava/lang/StringBuilder;
14 16 1 buf Ljava/lang/StringBuilder;
2 10 4 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 8 9 any
1 11 11 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testScaleVector();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=10, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "scaleVector.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
3: aload 3
ldc "scale_vector"
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.findGlobalSymbol:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 4
start local 4 4: iconst_5
anewarray java.lang.Object
dup
iconst_0
dconst_1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_1
ldc 2.0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_2
ldc 3.0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_3
ldc 4.0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_4
ldc 5.0
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic org.graalvm.polyglot.proxy.ProxyArray.fromArray:([Ljava/lang/Object;)Lorg/graalvm/polyglot/proxy/ProxyArray;
astore 5
start local 5 5: aload 4
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
aload 5
invokeinterface org.graalvm.polyglot.proxy.ProxyArray.getSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
ldc 0.1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
6: iconst_0
istore 6
start local 6 7: goto 12
8: StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner org.graalvm.polyglot.Value org.graalvm.polyglot.proxy.ProxyArray int
StackMap stack:
ldc 0.1
iload 6
iconst_1
iadd
i2d
dmul
dstore 7
start local 7 9: aload 5
iload 6
i2l
invokeinterface org.graalvm.polyglot.proxy.ProxyArray.get:(J)Ljava/lang/Object;
checkcast org.graalvm.polyglot.Value
astore 9
start local 9 10: new java.lang.StringBuilder
dup
ldc "index "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 6
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
dload 7
aload 9
invokevirtual org.graalvm.polyglot.Value.asDouble:()D
ldc 1.0E-4
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;DDD)V
end local 9 end local 7 11: iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
i2l
aload 5
invokeinterface org.graalvm.polyglot.proxy.ProxyArray.getSize:()J
lcmp
iflt 8
end local 6 end local 5 end local 4 13: aload 3
ifnull 19
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 19
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
14: astore 1
aload 3
ifnull 15
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
15: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
16: astore 2
aload 1
ifnonnull 17
aload 2
astore 1
goto 18
StackMap locals:
StackMap stack:
17: aload 1
aload 2
if_acmpeq 18
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
18: aload 1
athrow
19: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 15 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
4 13 4 fn Lorg/graalvm/polyglot/Value;
5 13 5 proxy Lorg/graalvm/polyglot/proxy/ProxyArray;
7 13 6 i I
9 11 7 expected D
10 11 9 actual Lorg/graalvm/polyglot/Value;
Exception table:
from to target type
2 13 14 any
1 16 16 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testConstruct002();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aconst_null
astore 2
aconst_null
astore 3
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "construct002.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 4
start local 4 2: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: aload 4
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$10
dup
aload 0
aload 1
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$10.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;Ljava/lang/StringBuilder;)V
4: ldc "callback"
5: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
6: aload 4
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.load:()Lorg/graalvm/polyglot/Value;
pop
7: ldc "construct\n"
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
8: aload 4
ifnull 14
aload 4
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 14
end local 1 StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest top java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
9: astore 2
aload 4
ifnull 10
aload 4
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 4 StackMap locals:
StackMap stack:
10: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 3
aload 2
ifnonnull 12
aload 3
astore 2
goto 13
StackMap locals:
StackMap stack:
12: aload 2
aload 3
if_acmpeq 13
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 2
athrow
start local 1 14: StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.StringBuilder
StackMap stack:
invokestatic com.oracle.truffle.llvm.tests.Platform.isDarwin:()Z
ifeq 20
15: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 16: ldc "construct\natexit\ndestruct\n"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
ldc "construct\ndestruct\natexit\n"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 17
iconst_0
goto 18
StackMap locals: java.lang.String
StackMap stack:
17: iconst_1
StackMap locals:
StackMap stack: int
18: invokestatic org.junit.Assert.assertTrue:(Z)V
end local 2 19: goto 21
20: StackMap locals:
StackMap stack:
ldc "construct\natexit\ndestruct\n"
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
21: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
3 9 1 buf Ljava/lang/StringBuilder;
14 22 1 buf Ljava/lang/StringBuilder;
2 10 4 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
16 19 2 actual Ljava/lang/String;
Exception table:
from to target type
2 8 9 any
1 11 11 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testInteropUndefinedToIntConvInt();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interopUndefinedToIntConv.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$11
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$11.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
3: ldc "getPrice"
4: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: ldc -1
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
i2l
invokestatic org.junit.Assert.assertEquals:(JJ)V
6: aload 3
ifnull 12
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 12
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: java.lang.Throwable
7: astore 1
aload 3
ifnull 8
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
8: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
9: astore 2
aload 1
ifnonnull 10
aload 2
astore 1
goto 11
StackMap locals:
StackMap stack:
10: aload 1
aload 2
if_acmpeq 11
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
11: aload 1
athrow
12: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 8 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
Exception table:
from to target type
2 6 7 any
1 9 9 any
RuntimeVisibleAnnotations:
org.junit.Test()
public void testInteropUndefinedToIntNull();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
dup
ldc "interopUndefinedToIntConv.c"
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: aload 3
new com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$12
dup
aload 0
invokespecial com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$12.<init>:(Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;)V
3: ldc "getPrice"
4: invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.export:(Ljava/lang/Object;Ljava/lang/String;)V
5: aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.run:()I
pop
6: goto 9
StackMap locals: com.oracle.truffle.llvm.tests.interop.LLVMInteropTest java.lang.Throwable java.lang.Throwable com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
StackMap stack: org.graalvm.polyglot.PolyglotException
7: astore 4
start local 4 8: aload 4
invokevirtual org.graalvm.polyglot.PolyglotException.getMessage:()Ljava/lang/String;
ldc "Polyglot object null cannot be converted to i32"
invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 4 9: StackMap locals:
StackMap stack:
aload 3
ifnull 15
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 1
aload 3
ifnull 11
aload 3
invokevirtual com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner.close:()V
end local 3 StackMap locals:
StackMap stack:
11: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 2
aload 1
ifnonnull 13
aload 2
astore 1
goto 14
StackMap locals:
StackMap stack:
13: aload 1
aload 2
if_acmpeq 14
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 1
athrow
15: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest;
2 11 3 runner Lcom/oracle/truffle/llvm/tests/interop/LLVMInteropTest$Runner;
8 9 4 e Lorg/graalvm/polyglot/PolyglotException;
Exception table:
from to target type
5 6 7 Class org.graalvm.polyglot.PolyglotException
2 9 10 any
1 12 12 any
RuntimeVisibleAnnotations:
org.junit.Test()
private static java.util.Map<java.lang.String, java.lang.Object> makeObjectA();
descriptor: ()Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 1: aload 0
ldc "valueBool"
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
ldc "valueB"
bipush 40
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
ldc "valueC"
bipush 41
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
ldc "valueI"
bipush 42
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
ldc "valueL"
ldc 43
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
ldc "valueF"
ldc 44.5
invokestatic java.lang.Float.valueOf:(F)Ljava/lang/Float;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
ldc "valueD"
ldc 45.5
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 9 0 values Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private static java.util.Map<java.lang.String, java.lang.Object> makeObjectB();
descriptor: ()Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=1, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 1: aload 0
ldc "valueB"
iconst_2
newarray 8
dup
iconst_0
iconst_1
bastore
dup
iconst_1
iconst_2
bastore
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
ldc "valueI"
iconst_2
newarray 10
dup
iconst_0
iconst_5
iastore
dup
iconst_1
bipush 6
iastore
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
ldc "valueL"
iconst_2
newarray 11
dup
iconst_0
ldc 7
lastore
dup
iconst_1
ldc 8
lastore
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
ldc "valueF"
iconst_2
newarray 6
dup
iconst_0
ldc 9.5
fastore
dup
iconst_1
ldc 10.5
fastore
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
ldc "valueD"
iconst_2
newarray 7
dup
iconst_0
ldc 11.5
dastore
dup
iconst_1
ldc 12.5
dastore
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 7 0 values Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/Object;>;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
protected static java.util.Map<java.lang.String, java.lang.String> getSulongTestLibContextOptions();
descriptor: ()Ljava/util/Map;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 1: ldc "test.sulongtest.lib.path"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 2: aload 0
ldc "llvm.libraryPath"
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 4 0 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 4 1 lib Ljava/lang/String;
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
private static java.lang.Object lambda$0(org.graalvm.polyglot.Value[]);
descriptor: ([Lorg/graalvm/polyglot/Value;)Ljava/lang/Object;
flags: (0x108a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "this is a test"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 t [Lorg/graalvm/polyglot/Value;
}
SourceFile: "LLVMInteropTest.java"
NestMembers:
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$1 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$10 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$11 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$12 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$2 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$3 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$4 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$5 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$6 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$7 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$8 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$9 com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ComplexNumber com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ExecutableForeignObject com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ForeignObject com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner
InnerClasses:
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$1
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$10
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$11
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$12
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$2
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$3
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$4
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$5
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$6
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$7
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$8
com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$9
public final ClassC = com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ClassC of com.oracle.truffle.llvm.tests.interop.LLVMInteropTest
ComplexNumber = com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ComplexNumber of com.oracle.truffle.llvm.tests.interop.LLVMInteropTest
ExecutableForeignObject = com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ExecutableForeignObject of com.oracle.truffle.llvm.tests.interop.LLVMInteropTest
ForeignObject = com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ForeignObject of com.oracle.truffle.llvm.tests.interop.LLVMInteropTest
public ReturnObject = com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$ReturnObject of com.oracle.truffle.llvm.tests.interop.LLVMInteropTest
private final Runner = com.oracle.truffle.llvm.tests.interop.LLVMInteropTest$Runner of com.oracle.truffle.llvm.tests.interop.LLVMInteropTest
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles