public class com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode extends com.oracle.truffle.nfi.test.NFITest$NFITestRootNode
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode
super_class: com.oracle.truffle.nfi.test.NFITest$NFITestRootNode
{
final java.lang.Object getIncrement;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
com.oracle.truffle.api.interop.InteropLibrary getIncrementInterop;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
com.oracle.truffle.api.interop.InteropLibrary closureInterop;
descriptor: Lcom/oracle/truffle/api/interop/InteropLibrary;
flags: (0x0000)
RuntimeVisibleAnnotations:
com.oracle.truffle.api.nodes.Node$Child()
final com.oracle.truffle.nfi.test.NumericNFITest this$0;
descriptor: Lcom/oracle/truffle/nfi/test/NumericNFITest;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(com.oracle.truffle.nfi.test.NumericNFITest);
descriptor: (Lcom/oracle/truffle/nfi/test/NumericNFITest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 // com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode this
0: .line 250
aload 0 /* this */
aload 1
putfield com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.this$0:Lcom/oracle/truffle/nfi/test/NumericNFITest;
aload 0 /* this */
invokespecial com.oracle.truffle.nfi.test.NFITest$NFITestRootNode.<init>:()V
1: .line 252
aload 0 /* this */
new java.lang.StringBuilder
dup
ldc "callback_ret_"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getfield com.oracle.truffle.nfi.test.NumericNFITest.type:Lcom/oracle/truffle/nfi/spi/types/NativeSimpleType;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
ldc "() : (%s):%s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
getfield com.oracle.truffle.nfi.test.NumericNFITest.type:Lcom/oracle/truffle/nfi/spi/types/NativeSimpleType;
aastore
dup
iconst_1
aload 1
getfield com.oracle.truffle.nfi.test.NumericNFITest.type:Lcom/oracle/truffle/nfi/spi/types/NativeSimpleType;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokestatic com.oracle.truffle.nfi.test.NumericNFITest.lookupAndBind:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
putfield com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.getIncrement:Ljava/lang/Object;
2: .line 254
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.getIncrement:Ljava/lang/Object;
invokestatic com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.getInterop:(Ljava/lang/Object;)Lcom/oracle/truffle/api/interop/InteropLibrary;
putfield com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.getIncrementInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
3: .line 255
aload 0 /* this */
invokestatic com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.getInterop:()Lcom/oracle/truffle/api/interop/InteropLibrary;
putfield com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.closureInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
4: .line 250
return
end local 0 // com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode this
LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/nfi/test/NumericNFITest$TestCallbackRetNode;
MethodParameters:
Name Flags
this$0 final
public java.lang.Object executeTest(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 // com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode this
start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
0: .line 259
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.getIncrementInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.getIncrement:Ljava/lang/Object;
iconst_0
anewarray java.lang.Object
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.execute:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
astore 2 /* functionPtr */
start local 2 // java.lang.Object functionPtr
1: .line 260
aload 0 /* this */
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.closureInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
aload 2 /* functionPtr */
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.isExecutable:(Ljava/lang/Object;)Z
invokevirtual com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.checkIsClosure:(Z)V
2: .line 261
aload 0 /* this */
getfield com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode.closureInterop:Lcom/oracle/truffle/api/interop/InteropLibrary;
aload 2 /* functionPtr */
iconst_1
anewarray java.lang.Object
dup
iconst_0
bipush 42
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual com.oracle.truffle.api.interop.InteropLibrary.execute:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 // java.lang.Object functionPtr
end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
end local 0 // com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/truffle/nfi/test/NumericNFITest$TestCallbackRetNode;
0 3 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
1 3 2 functionPtr Ljava/lang/Object;
Exceptions:
throws com.oracle.truffle.api.interop.InteropException
MethodParameters:
Name Flags
frame
private void checkIsClosure(boolean);
descriptor: (Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 // com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode this
start local 1 // boolean isExecutable
0: .line 266
ldc "closure"
iload 1 /* isExecutable */
invokestatic org.junit.Assert.assertTrue:(Ljava/lang/String;Z)V
1: .line 267
return
end local 1 // boolean isExecutable
end local 0 // com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/nfi/test/NumericNFITest$TestCallbackRetNode;
0 2 1 isExecutable Z
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
isExecutable
}
SourceFile: "NumericNFITest.java"
NestHost: com.oracle.truffle.nfi.test.NumericNFITest
InnerClasses:
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public abstract Child = com.oracle.truffle.api.nodes.Node$Child of com.oracle.truffle.api.nodes.Node
protected abstract NFITestRootNode = com.oracle.truffle.nfi.test.NFITest$NFITestRootNode of com.oracle.truffle.nfi.test.NFITest
public TestCallbackRetNode = com.oracle.truffle.nfi.test.NumericNFITest$TestCallbackRetNode of com.oracle.truffle.nfi.test.NumericNFITest