public class com.oracle.truffle.llvm.tests.interop.InteropCallTest extends com.oracle.truffle.llvm.tests.interop.InteropTestBase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.llvm.tests.interop.InteropCallTest
super_class: com.oracle.truffle.llvm.tests.interop.InteropTestBase
{
private static org.graalvm.polyglot.Value testLibrary;
descriptor: Lorg/graalvm/polyglot/Value;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/llvm/tests/interop/InteropCallTest;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.truffle.llvm.tests.interop.InteropCallTest.$assertionsDisabled:Z
3: 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 com.oracle.truffle.llvm.tests.interop.InteropTestBase.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/llvm/tests/interop/InteropCallTest;
public static void loadTestBitcode();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "fitsIn.c"
invokestatic com.oracle.truffle.llvm.tests.interop.InteropCallTest.loadTestBitcodeValue:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
putstatic com.oracle.truffle.llvm.tests.interop.InteropCallTest.testLibrary:Lorg/graalvm/polyglot/Value;
1: return
LocalVariableTable:
Start End Slot Name Signature
RuntimeVisibleAnnotations:
org.junit.BeforeClass()
public void testNoArgsCall();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.InteropCallTest.testLibrary:Lorg/graalvm/polyglot/Value;
ldc "test_fits_in"
invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.InteropCallTest.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual org.graalvm.polyglot.Value.canExecute:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.polyglot.Value
StackMap stack:
aload 1
iconst_0
anewarray java.lang.Object
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/tests/interop/InteropCallTest;
1 4 1 func Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test(expected = Ljava/lang/IllegalArgumentException;)
public void testTooManyArgsCall();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic com.oracle.truffle.llvm.tests.interop.InteropCallTest.testLibrary:Lorg/graalvm/polyglot/Value;
ldc "test_fits_in_nativeptr"
invokevirtual org.graalvm.polyglot.Value.getMember:(Ljava/lang/String;)Lorg/graalvm/polyglot/Value;
astore 1
start local 1 1: getstatic com.oracle.truffle.llvm.tests.interop.InteropCallTest.$assertionsDisabled:Z
ifne 2
aload 1
invokevirtual org.graalvm.polyglot.Value.canExecute:()Z
ifne 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.graalvm.polyglot.Value
StackMap stack:
aload 1
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
pop
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/llvm/tests/interop/InteropCallTest;
1 4 1 func Lorg/graalvm/polyglot/Value;
RuntimeVisibleAnnotations:
org.junit.Test()
}
SourceFile: "InteropCallTest.java"
RuntimeVisibleAnnotations:
org.junit.runner.RunWith(value = Lcom/oracle/truffle/tck/TruffleRunner;)